diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-17 16:06:34 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-17 17:09:00 +1000 |
commit | 4162c7b74aa94ee77ef47f0abae058b80eca6e38 (patch) | |
tree | 7a1f1653eb6146a4616915908ee51c6eff061e5c /source4 | |
parent | e645675aa46e945da5293b54a1bd368599b7b5a7 (diff) | |
download | samba-4162c7b74aa94ee77ef47f0abae058b80eca6e38.tar.gz samba-4162c7b74aa94ee77ef47f0abae058b80eca6e38.tar.bz2 samba-4162c7b74aa94ee77ef47f0abae058b80eca6e38.zip |
errors: reorder error codes for easier s3/s4 comparison
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/util/errormap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c index 23432ca22f..a264a25950 100644 --- a/source4/libcli/util/errormap.c +++ b/source4/libcli/util/errormap.c @@ -599,8 +599,11 @@ static const struct { { EMSGSIZE, NT_STATUS_INVALID_BUFFER_SIZE }, { ENOMEM, NT_STATUS_NO_MEMORY }, { EISDIR, NT_STATUS_FILE_IS_A_DIRECTORY}, +#ifdef EPIPE { EPIPE, NT_STATUS_CONNECTION_DISCONNECTED }, +#endif { EBUSY, NT_STATUS_SHARING_VIOLATION }, + { ENOSYS, NT_STATUS_INVALID_SYSTEM_SERVICE }, #ifdef EOPNOTSUPP { EOPNOTSUPP, NT_STATUS_NOT_SUPPORTED}, #endif @@ -664,9 +667,6 @@ static const struct { #ifdef ECANCELED { ECANCELED, NT_STATUS_CANCELLED}, #endif -#ifdef ENOSYS - { ENOSYS, NT_STATUS_INVALID_SYSTEM_SERVICE }, -#endif #ifdef ENOTSUP { ENOTSUP, NT_STATUS_NOT_SUPPORTED}, #endif |