diff options
-rw-r--r-- | source3/torture/torture.c | 4 |
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); |