summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/util/errormap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c
index 930e45b214..c31419569c 100644
--- a/source4/libcli/util/errormap.c
+++ b/source4/libcli/util/errormap.c
@@ -1321,7 +1321,7 @@ const struct unix_error_map unix_nt_errmap[] = {
{ ENODATA, NT_STATUS_NOT_FOUND },
#endif
#ifdef EDQUOT
- { EDQUOT, NT_STATUS_QUOTA_EXCEEDED },
+ { EDQUOT, NT_STATUS_DISK_FULL }, /* Windows does NOT return NT_STATUS_QUOTA_EXCEEDED */
#endif
#ifdef ENOTEMPTY
{ ENOTEMPTY, NT_STATUS_DIRECTORY_NOT_EMPTY },