summaryrefslogtreecommitdiff
path: root/libcli/util
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-02 13:07:46 +0100
committerGünther Deschner <gd@samba.org>2009-03-02 14:24:57 +0100
commitdb728c1ade8a6030748d535e391460e294e6ad10 (patch)
tree02812e02242871f4126cb43ea2004226fd748d52 /libcli/util
parent212756646efa85880a6b50aa7cb404e402c2ae4a (diff)
downloadsamba-db728c1ade8a6030748d535e391460e294e6ad10.tar.gz
samba-db728c1ade8a6030748d535e391460e294e6ad10.tar.bz2
samba-db728c1ade8a6030748d535e391460e294e6ad10.zip
error-codes: add WERR_DEVICE_NOT_CONNECTED.
Guenther
Diffstat (limited to 'libcli/util')
-rw-r--r--libcli/util/doserr.c1
-rw-r--r--libcli/util/werror.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c
index 1044ab351a..5104c3ee02 100644
--- a/libcli/util/doserr.c
+++ b/libcli/util/doserr.c
@@ -133,6 +133,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_INVALID_FLAGS", WERR_INVALID_FLAGS },
+ { "WERR_DEVICE_NOT_CONNECTED", WERR_DEVICE_NOT_CONNECTED },
{ "WERR_NOT_FOUND", WERR_NOT_FOUND },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
{ "WERR_INVALID_USER_BUFFER", WERR_INVALID_USER_BUFFER },
diff --git a/libcli/util/werror.h b/libcli/util/werror.h
index 15251a44fc..d92232706a 100644
--- a/libcli/util/werror.h
+++ b/libcli/util/werror.h
@@ -114,6 +114,7 @@ typedef uint32_t WERROR;
#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_DEVICE_NOT_CONNECTED W_ERROR(1167)
#define WERR_NOT_FOUND W_ERROR(1168)
#define WERR_INVALID_COMPUTERNAME W_ERROR(1210)
#define WERR_INVALID_DOMAINNAME W_ERROR(1212)