summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-21 11:41:54 +0100
committerVolker Lendecke <vl@samba.org>2010-02-21 11:42:41 +0100
commit15edc96f4914db7b478aa321d8a596993a591822 (patch)
tree3e42fa8591890231d086d153c0af7f219c749ea4 /source3/torture
parent77dd1b29bb34500c5643670dcca6094ab526ce44 (diff)
downloadsamba-15edc96f4914db7b478aa321d8a596993a591822.tar.gz
samba-15edc96f4914db7b478aa321d8a596993a591822.tar.bz2
samba-15edc96f4914db7b478aa321d8a596993a591822.zip
s3: Use the status from cli_raw_ioctl in torture_ioctl_test
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 24aea3ceee..5ed27f926f 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -4870,10 +4870,10 @@ bool torture_ioctl_test(int dummy)
}
status = cli_raw_ioctl(cli, fnum, 0x2d0000 | (0x0420<<2), &blob);
- printf("ioctl device info: %s\n", cli_errstr(cli));
+ printf("ioctl device info: %s\n", nt_errstr(status));
status = cli_raw_ioctl(cli, fnum, IOCTL_QUERY_JOB_INFO, &blob);
- printf("ioctl job info: %s\n", cli_errstr(cli));
+ printf("ioctl job info: %s\n", nt_errstr(status));
for (device=0;device<0x100;device++) {
printf("testing device=0x%x\n", device);