summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-05-09 17:44:42 +0000
committerJeremy Allison <jra@samba.org>2002-05-09 17:44:42 +0000
commit1bd3da9aef6624325a049cc84a7e6882c072a898 (patch)
tree22fb2dce9c533cf93200f143a8aa66cfe9ed4d05 /source3/lib
parent30c80f90ade5f0b6aee777d3da4135ae94e43a60 (diff)
downloadsamba-1bd3da9aef6624325a049cc84a7e6882c072a898.tar.gz
samba-1bd3da9aef6624325a049cc84a7e6882c072a898.tar.bz2
samba-1bd3da9aef6624325a049cc84a7e6882c072a898.zip
NT uses NT_STATUS_OBJECT_NAME_NOT_FOUND not NT_STATUS_NO_SUCH_FILE for ENOENT.
Jeremy. (This used to be commit 2b49d727b061f87d5022e7ee75b66dc851265fd5)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/error.c b/source3/lib/error.c
index 78db04ecc5..608d2b89ba 100644
--- a/source3/lib/error.c
+++ b/source3/lib/error.c
@@ -25,7 +25,7 @@
const struct unix_error_map unix_dos_nt_errmap[] = {
{ EPERM, ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED },
{ EACCES, ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED },
- { ENOENT, ERRDOS, ERRbadfile, NT_STATUS_NO_SUCH_FILE },
+ { ENOENT, ERRDOS, ERRbadfile, NT_STATUS_OBJECT_NAME_NOT_FOUND },
{ ENOTDIR, ERRDOS, ERRbadpath, NT_STATUS_OBJECT_PATH_NOT_FOUND },
{ EIO, ERRHRD, ERRgeneral, NT_STATUS_IO_DEVICE_ERROR },
{ EBADF, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE },