From 58a957035336119a3a023384fef205ae718fdf1b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 5 Feb 2005 14:40:47 +0000 Subject: r5237: Add error code for "class not registered" (This used to be commit b72a0ac654857273eaaf3c5e32d86abed0af3ceb) --- source4/include/doserr.h | 2 ++ source4/libcli/util/doserr.c | 1 + 2 files changed, 3 insertions(+) (limited to 'source4') 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) } }; -- cgit