summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-16 21:27:57 +0000
committerJeremy Allison <jra@samba.org>2002-01-16 21:27:57 +0000
commit16fcbf3c1ccf1d704765653f68395dd596c0d841 (patch)
tree1502fa226ed2e10bae2ddd7058a405b2d4798cdc /source/libsmb
parent64301bc5f75283c948630d2b78d28e3869db39a2 (diff)
downloadsamba-16fcbf3c1ccf1d704765653f68395dd596c0d841.tar.gz
samba-16fcbf3c1ccf1d704765653f68395dd596c0d841.tar.xz
samba-16fcbf3c1ccf1d704765653f68395dd596c0d841.zip
Fixup error mapping so we have only one table containing errno -> dos error -> NT STATUS
maps. Fixes problem with disk full returning incorrect error. Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/errormap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/libsmb/errormap.c b/source/libsmb/errormap.c
index 1c44675c83a..401a07b77dd 100644
--- a/source/libsmb/errormap.c
+++ b/source/libsmb/errormap.c
@@ -773,6 +773,7 @@ static struct {
{ERRHRD, ERRlock, NT_STATUS_FILE_LOCK_CONFLICT},
{ERRHRD, ERRwrongdisk, NT_STATUS_WRONG_VOLUME},
{ERRHRD, 38, NT_STATUS_END_OF_FILE},
+ {ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL},
{ERRHRD, 50, NT_STATUS_CTL_FILE_NOT_SUPPORTED},
{ERRHRD, 51, NT_STATUS_REMOTE_NOT_LISTENING},
{ERRHRD, 52, NT_STATUS_DUPLICATE_NAME},