]> git.michaelhowe.org Git - packages/o/openafs.git/commit
sys: pioctl_nt translate WinErr to Unix
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 8 May 2014 20:34:25 +0000 (16:34 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Thu, 21 Aug 2014 03:49:45 +0000 (23:49 -0400)
commit1ce48e9e93c686aef24bb066ce76c2fcf08f96b6
treee025ef9fb40e2a84b8cb1a7753ddec4b74ee0227
parentfc70e0ddebb8521a69aaeb6e1d249b9ca577db52
sys: pioctl_nt translate WinErr to Unix

When reading the result of a pioctl fails with ERROR_NOT_SUPPORTED
this must be translated to an EINVAL errno.

Change-Id: I3db03f80b8a0da5d7e4931dc5673c7010d580d8d
Reviewed-on: http://gerrit.openafs.org/11417
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/sys/pioctl_nt.c