summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/include/doserr.h2
-rw-r--r--source4/libcli/util/doserr.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/source4/include/doserr.h b/source4/include/doserr.h
index 06e0986445..586ac99997 100644
--- a/source4/include/doserr.h
+++ b/source4/include/doserr.h
@@ -221,6 +221,8 @@
#define WERR_PRINT_MONITOR_IN_USE W_ERROR(ERRprintmonitorinuse)
#define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(ERRprinterhasjobsqueued)
+#define WERR_CLASS_NOT_REGISTERED W_ERROR(0x40154)
+
#ifndef NERR_BASE
#define NERR_BASE (2100)
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index a9acb7335c..a584def829 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -86,6 +86,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE },
{ "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
+ { "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
{ NULL, W_ERROR(0) }
};