diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-21 11:41:54 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-21 11:42:41 +0100 |
commit | 15edc96f4914db7b478aa321d8a596993a591822 (patch) | |
tree | 3e42fa8591890231d086d153c0af7f219c749ea4 | |
parent | 77dd1b29bb34500c5643670dcca6094ab526ce44 (diff) | |
download | samba-15edc96f4914db7b478aa321d8a596993a591822.tar.gz samba-15edc96f4914db7b478aa321d8a596993a591822.tar.bz2 samba-15edc96f4914db7b478aa321d8a596993a591822.zip |
s3: Use the status from cli_raw_ioctl in torture_ioctl_test
-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); |