summaryrefslogtreecommitdiff
path: root/source3/libsmb/nterr.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-12-17 22:55:49 +0000
committerGerald Carter <jerry@samba.org>2002-12-17 22:55:49 +0000
commit98b19b0e5ee9d4e3c4b6bb2279b743ba5669bcac (patch)
tree8a19819f2c0ccfc9c99c5d5323d35dc62c49fa3f /source3/libsmb/nterr.c
parent9eb8d07312f9550a8eefcf9a6397dc7bc93a58f7 (diff)
downloadsamba-98b19b0e5ee9d4e3c4b6bb2279b743ba5669bcac.tar.gz
samba-98b19b0e5ee9d4e3c4b6bb2279b743ba5669bcac.tar.bz2
samba-98b19b0e5ee9d4e3c4b6bb2279b743ba5669bcac.zip
app_head merge for get_friendly_nt_err()
(This used to be commit 5b311250257b3c45879a85ac46d6b6aa316514bf)
Diffstat (limited to 'source3/libsmb/nterr.c')
-rw-r--r--source3/libsmb/nterr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c
index 4bb21efaa7..e494995f86 100644
--- a/source3/libsmb/nterr.c
+++ b/source3/libsmb/nterr.c
@@ -602,9 +602,9 @@ char *get_friendly_nt_error_msg(NTSTATUS nt_code)
int idx = 0;
while (nt_err_desc[idx].nt_errstr != NULL) {
- if (NT_STATUS_V(nt_errs[idx].nt_errcode) == NT_STATUS_V(nt_code))
+ if (NT_STATUS_V(nt_err_desc[idx].nt_errcode) == NT_STATUS_V(nt_code))
{
- return nt_errs[idx].nt_errstr;
+ return nt_err_desc[idx].nt_errstr;
}
idx++;
}