summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-12-17 22:53:56 +0000
committerGerald Carter <jerry@samba.org>2002-12-17 22:53:56 +0000
commit846b50cd417b392288727ecf948ba4df30a90e6e (patch)
treeb3fe4d0f570cb5e43a5b38ad5bc492dabeb5b338 /source3
parent2134817842a8fceea9e922e00272c3adef864f9a (diff)
downloadsamba-846b50cd417b392288727ecf948ba4df30a90e6e.tar.gz
samba-846b50cd417b392288727ecf948ba4df30a90e6e.tar.bz2
samba-846b50cd417b392288727ecf948ba4df30a90e6e.zip
app_head merge for get_friendly_nt_err()
(This used to be commit 3ceff08eb75ecd70dcf10d033c7451d87b659c0b)
Diffstat (limited to 'source3')
-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++;
}