summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-01-06 02:55:37 +0000
committerTim Potter <tpot@samba.org>2002-01-06 02:55:37 +0000
commitd1baa1fda928bfcc1998575f2af71aaa001402aa (patch)
tree9d84cdf8ad058c94dc259a1b0a1e3f1f14c83533 /source3/libsmb
parentb8b228d9615352f552a534c30076032d4e2dd3ef (diff)
downloadsamba-d1baa1fda928bfcc1998575f2af71aaa001402aa.tar.gz
samba-d1baa1fda928bfcc1998575f2af71aaa001402aa.tar.bz2
samba-d1baa1fda928bfcc1998575f2af71aaa001402aa.zip
DOS error 31 is ERRgeneral, General Failure. This is the WERROR equivalent
to NT_STATUS_UNSUCCESSFUL according to AB's funky new error map. (This used to be commit 9c968fbb017d3369ac207e65348a9a22dbed0213)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/errormap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index b2b638b229..1c44675c83 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -49,7 +49,7 @@ static struct {
uint32 dos_code;
NTSTATUS ntstatus;
} ntstatus_to_dos_map[] = {
- {ERRDOS, 31, NT_STATUS_UNSUCCESSFUL},
+ {ERRDOS, ERRgeneral, NT_STATUS_UNSUCCESSFUL},
{ERRDOS, ERRbadfunc, NT_STATUS_NOT_IMPLEMENTED},
{ERRDOS, 87, NT_STATUS_INVALID_INFO_CLASS},
{ERRDOS, 24, NT_STATUS_INFO_LENGTH_MISMATCH},