r4065: fixed ntstatus->dos error code for NT_STATUS_NO_SUCH_FILE
authorAndrew Tridgell <tridge@samba.org>
Sun, 5 Dec 2004 07:43:38 +0000 (07:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:21 +0000 (13:06 -0500)
(This used to be commit 19efd83b863a8c94f509d6a933a7d5de43aa95e9)

source4/libcli/util/errormap.c

index 6849d7d0cdc419b704c3d9294542f3070061b857..cc3b9600820bd5a31b948b596cff8c0eec91789b 100644 (file)
@@ -65,7 +65,7 @@ static const struct {
        {ERRHRD,        ERRgeneral,     NT_STATUS_TIMER_NOT_CANCELED},
        {ERRDOS,        87,     NT_STATUS_INVALID_PARAMETER},
        {ERRDOS,        ERRbadfile,     NT_STATUS_NO_SUCH_DEVICE},
-       {ERRDOS,        ERRbadfile,     NT_STATUS_NO_SUCH_FILE},
+       {ERRDOS,        ERRnofiles,     NT_STATUS_NO_SUCH_FILE},
        {ERRDOS,        ERRbadfunc,     NT_STATUS_INVALID_DEVICE_REQUEST},
        {ERRDOS,        38,     NT_STATUS_END_OF_FILE},
        {ERRDOS,        34,     NT_STATUS_WRONG_VOLUME},