]> git.michaelhowe.org Git - packages/o/openafs.git/commit
SOLARIS: Correct ioctl syscall error handling
authorAndrew Deason <adeason@sinenomine.net>
Fri, 25 Mar 2011 21:37:30 +0000 (16:37 -0500)
committerDerrick Brashear <shadow@dementia.org>
Mon, 28 Mar 2011 14:30:15 +0000 (07:30 -0700)
commit39a861f0cf10313323219409a2a7095f0fffd9e0
treec61f71a183515014700190253a4adb5528bcd291
parent8f7ae330d6491dae015c52ae1a3cf0e2333a349b
SOLARIS: Correct ioctl syscall error handling

Do not use the return code from ioctl for errno. Ioctl itself will set
the errno and return value correctly, so don't mess with them.

Reviewed-on: http://gerrit.openafs.org/4345
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 99ed22fb02a3b44c03327a1fdd5ef56e211724b6)

Change-Id: Ie7ba95f14a2c34f11b358b482bd58bdacba6bed6
Reviewed-on: http://gerrit.openafs.org/4369
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/sys/glue.c