summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)