summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-07 20:45:04 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:44 +0100
commitb4ddef5942990c266e8cf8497da15aef7a357c33 (patch)
tree64e0afaa5090b666ea1eda6bcfd48a76700aa9fc
parentfaa5ef6ba889b014e7f4ea5d7506aef57105c599 (diff)
downloadsamba-b4ddef5942990c266e8cf8497da15aef7a357c33.tar.gz
samba-b4ddef5942990c266e8cf8497da15aef7a357c33.tar.bz2
samba-b4ddef5942990c266e8cf8497da15aef7a357c33.zip
r25897: Add WERR_INVALID_FLAGS.
Guenther (This used to be commit c3023eaeb389f44b64becc383552df0debfc232d)
-rw-r--r--source4/libcli/util/doserr.c1
-rw-r--r--source4/libcli/util/werror.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index e94b50a6de..19984cf2e9 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -111,6 +111,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_PRINTQ_FULL", WERR_PRINTQ_FULL },
{ "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE },
{ "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE },
+ { "WERR_INVALID_FLAGS", WERR_INVALID_FLAGS },
{ "WERR_NOT_FOUND", WERR_NOT_FOUND },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
{ "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
diff --git a/source4/libcli/util/werror.h b/source4/libcli/util/werror.h
index d356b160d8..532dc2ed8c 100644
--- a/source4/libcli/util/werror.h
+++ b/source4/libcli/util/werror.h
@@ -88,6 +88,7 @@ typedef uint32_t WERROR;
#define WERR_NO_MORE_ITEMS W_ERROR(259)
#define WERR_MORE_DATA W_ERROR(234)
#define WERR_CAN_NOT_COMPLETE W_ERROR(1003)
+#define WERR_INVALID_FLAGS W_ERROR(1004)
#define WERR_NOT_FOUND W_ERROR(1168)
#define WERR_INVALID_COMPUTERNAME W_ERROR(1210)
#define WERR_INVALID_DOMAINNAME W_ERROR(1212)