summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-10-15 19:10:19 +0200
committerGünther Deschner <gd@samba.org>2007-10-15 19:10:19 +0200
commit06ae5243f302c79fa2fe9ebbf1fb212e2f830c18 (patch)
treea5e932ccff9adda23a5928c4e0113f485eb55fef
parentc08cd08acc74db1f7b5620ad346131a9d77b0a08 (diff)
downloadsamba-06ae5243f302c79fa2fe9ebbf1fb212e2f830c18.tar.gz
samba-06ae5243f302c79fa2fe9ebbf1fb212e2f830c18.tar.bz2
samba-06ae5243f302c79fa2fe9ebbf1fb212e2f830c18.zip
Add WERR_SERVICE_ALREADY_RUNNING.
Guenther (This used to be commit 357f00384994946485a5190b6a9c493aeee53cd2)
-rw-r--r--source3/include/doserr.h1
-rw-r--r--source3/libsmb/doserr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index 2f2861ae4a..6e29faf96f 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -199,6 +199,7 @@
#define WERR_REG_FILE_INVALID W_ERROR(1017)
#define WERR_NO_SUCH_SERVICE W_ERROR(1060)
#define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052)
+#define WERR_SERVICE_ALREADY_RUNNING W_ERROR(1056)
#define WERR_SERVICE_DISABLED W_ERROR(1058)
#define WERR_SERVICE_NEVER_STARTED W_ERROR(1077)
#define WERR_MACHINE_LOCKED W_ERROR(1271)
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index 23214e8d94..52afb0d022 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -77,6 +77,7 @@ werror_code_struct dos_errs[] =
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
{ "WERR_IO_PENDING", WERR_IO_PENDING },
{ "WERR_INVALID_SERVICE_CONTROL", WERR_INVALID_SERVICE_CONTROL },
+ { "WERR_SERVICE_ALREADY_RUNNING", WERR_SERVICE_ALREADY_RUNNING },
{ "WERR_NET_NAME_NOT_FOUND", WERR_NET_NAME_NOT_FOUND },
{ "WERR_REG_CORRUPT", WERR_REG_CORRUPT },
{ "WERR_REG_IO_FAILURE", WERR_REG_IO_FAILURE },