diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-25 06:22:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:40 -0500 |
commit | 6b2fc6e2d431261ea0877afa27a70ec15d504f37 (patch) | |
tree | fb013a537f64a742a1851b3397744c5b64c1d77b /source4 | |
parent | 1ca4b01031fc2acb1f5d631d04c09d1e82279457 (diff) | |
download | samba-6b2fc6e2d431261ea0877afa27a70ec15d504f37.tar.gz samba-6b2fc6e2d431261ea0877afa27a70ec15d504f37.tar.bz2 samba-6b2fc6e2d431261ea0877afa27a70ec15d504f37.zip |
r3197: fixed error code mapping for ENOTDIR
(This used to be commit 2c852539ed089b584b721a31cd411667bb5669c7)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/util/errormap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c index 650dc55e50..ce7832eaac 100644 --- a/source4/libcli/util/errormap.c +++ b/source4/libcli/util/errormap.c @@ -1498,7 +1498,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_OBJECT_NAME_NOT_FOUND }, - { ENOTDIR, ERRDOS, ERRbadpath, NT_STATUS_OBJECT_PATH_NOT_FOUND }, + { 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 }, |