From b72a0ac654857273eaaf3c5e32d86abed0af3ceb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 5 Feb 2005 14:40:47 +0000 Subject: [PATCH] r5237: Add error code for "class not registered" --- source/include/doserr.h | 2 ++ source/libcli/util/doserr.c | 1 + 2 files changed, 3 insertions(+) diff --git a/source/include/doserr.h b/source/include/doserr.h index 06e09864459..586ac999973 100644 --- a/source/include/doserr.h +++ b/source/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/source/libcli/util/doserr.c b/source/libcli/util/doserr.c index a9acb7335c3..a584def8295 100644 --- a/source/libcli/util/doserr.c +++ b/source/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) } };