diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-31 07:21:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:49 -0500 |
commit | 7ac62a7b133cac8915fe10272c1045d7aa4dc7fa (patch) | |
tree | 5fdc5aebc745e38eebc9ed8a6a10d6905a666e24 | |
parent | ccbfe7b61db1948b552e0629856385a2eb4def10 (diff) | |
download | samba-7ac62a7b133cac8915fe10272c1045d7aa4dc7fa.tar.gz samba-7ac62a7b133cac8915fe10272c1045d7aa4dc7fa.tar.bz2 samba-7ac62a7b133cac8915fe10272c1045d7aa4dc7fa.zip |
r4435: add another error code
metze
(This used to be commit 02861f63052c48fc85c6694ad8164cc6cc5443d4)
-rw-r--r-- | source4/include/doserr.h | 1 | ||||
-rw-r--r-- | source4/libcli/util/doserr.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/doserr.h b/source4/include/doserr.h index 1d4f7208d1..06e0986445 100644 --- a/source4/include/doserr.h +++ b/source4/include/doserr.h @@ -227,6 +227,7 @@ #endif #define WERR_NET_NAME_NOT_FOUND W_ERROR(NERR_BASE+210) +#define WERR_DEVICE_NOT_SHARED W_ERROR(NERR_BASE+211) /* DFS errors */ #define WERR_DFS_NO_SUCH_VOL W_ERROR(NERR_BASE+562) diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c index aff46bc8bf..a9acb7335c 100644 --- a/source4/libcli/util/doserr.c +++ b/source4/libcli/util/doserr.c @@ -61,6 +61,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_PRINTER_DRIVER_IN_USE", WERR_PRINTER_DRIVER_IN_USE }, { "WERR_STATUS_MORE_ENTRIES", WERR_STATUS_MORE_ENTRIES }, { "WERR_NET_NAME_NOT_FOUND", WERR_NET_NAME_NOT_FOUND }, + { "WERR_DEVICE_NOT_SHARED", WERR_DEVICE_NOT_SHARED }, { "WERR_DFS_NO_SUCH_VOL", WERR_DFS_NO_SUCH_VOL }, { "WERR_DFS_NO_SUCH_SHARE", WERR_DFS_NO_SUCH_SHARE }, { "WERR_DFS_NO_SUCH_SERVER", WERR_DFS_NO_SUCH_SERVER }, |