diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-08-18 11:32:37 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-08-27 16:45:39 +0200 |
commit | e91d5dbed05f364d155ff8b91ddf5af718fb1462 (patch) | |
tree | 812182325f7c446e76faf3825f9999a1bc0fc391 /source3/lib | |
parent | 1f3d0c54850b4b9ab6889d50bfa2049970a7cb17 (diff) | |
download | samba-e91d5dbed05f364d155ff8b91ddf5af718fb1462.tar.gz samba-e91d5dbed05f364d155ff8b91ddf5af718fb1462.tar.bz2 samba-e91d5dbed05f364d155ff8b91ddf5af718fb1462.zip |
s3:error_map: make NTSTATUS -> errno -> NTSTATUS mapping consistent for NT_STATUS_INVALID_PARAMETER
Why have we mapped EINVAL -> NT_STATUS_INVALID_HANDLE before?
metze
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/errmap_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c index d43598bc53..d5b94e9985 100644 --- a/source3/lib/errmap_unix.c +++ b/source3/lib/errmap_unix.c @@ -31,7 +31,7 @@ const struct unix_error_map unix_dos_nt_errmap[] = { { ENOTDIR, ERRDOS, ERRbadpath, NT_STATUS_NOT_A_DIRECTORY }, { EIO, ERRHRD, ERRgeneral, NT_STATUS_IO_DEVICE_ERROR }, { EBADF, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE }, - { EINVAL, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE }, + { EINVAL, ERRSRV, ERRsrverror, NT_STATUS_INVALID_PARAMETER }, { EEXIST, ERRDOS, ERRfilexists, NT_STATUS_OBJECT_NAME_COLLISION}, { ENFILE, ERRDOS, ERRnofids, NT_STATUS_TOO_MANY_OPENED_FILES }, { EMFILE, ERRDOS, ERRnofids, NT_STATUS_TOO_MANY_OPENED_FILES }, |