summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-10-05 22:06:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:12 -0500
commitb92212575d370275bf1609cac6bc13c71de472d4 (patch)
tree412282ba0a0869a2415db214688d6e38e3a1290b /source3/torture
parent0ebab65706e7e2ef82d8af81225db05a5f78b5c4 (diff)
downloadsamba-b92212575d370275bf1609cac6bc13c71de472d4.tar.gz
samba-b92212575d370275bf1609cac6bc13c71de472d4.tar.bz2
samba-b92212575d370275bf1609cac6bc13c71de472d4.zip
r25538: Revert r25533
(This used to be commit 1e02208c43cb27ca4b43d268a7f0324f2a9b2cfd)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index e48448e5da..6d0fc546ab 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -4768,14 +4768,14 @@ static BOOL run_error_map_extract(int dummy) {
if (NT_STATUS_V(nt_status) != error) {
printf("/*\t{ This NT error code was 'sqashed'\n\t from %s to %s \n\t during the session setup }\n*/\n",
- nt_errstr(NT_STATUS(error)),
- nt_errstr(nt_status));
+ get_nt_error_c_code(NT_STATUS(error)),
+ get_nt_error_c_code(nt_status));
}
printf("\t{%s,\t%s,\t%s},\n",
smb_dos_err_class(errclass),
smb_dos_err_name(errclass, errnum),
- nt_errstr(NT_STATUS(error)));
+ get_nt_error_c_code(NT_STATUS(error)));
}
return True;
}