darwin afscall syscall should set retval
authorDerrick Brashear <shadow@dementia.org>
Wed, 24 Feb 2010 05:30:28 +0000 (00:30 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 25 Feb 2010 21:55:40 +0000 (13:55 -0800)
commit518b3abb737fd02245c4400491388d15f5cb9e1f
tree8ad3e73ddebf76c2a34ab3568b0df288ffd0e1a8
parent93e9964039a1b627f991e796495be49ea0b6fdb1
darwin afscall syscall should set retval

because of how the ioctl based syscall works, passing back a real
return value should be done this way, as it is for the other other
afs syscall subcalls. matters for userspace handlers.

Change-Id: I894b4bd633ce4823b1ce906861251fcbb3949af2
Reviewed-on: http://gerrit.openafs.org/1381
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_syscall.c