summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/errormap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index ab524a01f5..cf3dc34618 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -1396,8 +1396,8 @@ void ntstatus_to_dos(NTSTATUS ntstatus, uint8 *eclass, uint32 *ecode)
return;
}
}
- *eclass = ERRSRV;
- *ecode = ERRerror;
+ *eclass = ERRHRD;
+ *ecode = ERRgeneral;
}