diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2019-01-16 22:12:55 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2019-01-16 22:12:55 +0000 |
commit | e168d3764b642fd96aac1c65f83a64af994ee111 (patch) | |
tree | e187dacb9e1a4b5fdaafb3d33444b34b87ef5b26 /testing/sg_tst_ioctl.c | |
parent | ff7f6c54064cacb61466fc26a31886a7573107f5 (diff) | |
download | sg3_utils-e168d3764b642fd96aac1c65f83a64af994ee111.tar.gz |
more sg_tst_bidi.c work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@807 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing/sg_tst_ioctl.c')
-rw-r--r-- | testing/sg_tst_ioctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/sg_tst_ioctl.c b/testing/sg_tst_ioctl.c index 0ae34175..cbbd423a 100644 --- a/testing/sg_tst_ioctl.c +++ b/testing/sg_tst_ioctl.c @@ -53,7 +53,7 @@ * later of the Linux sg driver. */ -static const char * version_str = "Version: 1.02 20190111"; +static const char * version_str = "Version: 1.02 20190113"; #define INQ_REPLY_LEN 96 #define INQ_CMD_LEN 6 @@ -93,9 +93,9 @@ static const char * relative_cp = NULL; static void usage(void) { - printf("Usage: 'sg_tst_ioctl [-f] [-h] [-l=Q_LEN] [-o] [-r=SZ] [-s=SEC] " + printf("Usage: sg_tst_ioctl [-f] [-h] [-l=Q_LEN] [-o] [-r=SZ] [-s=SEC] " "[-t]\n" - " [-v] [-V] [-w] <sg_device> [<sg_device2>]'\n" + " [-v] [-V] [-w] <sg_device> [<sg_device2>]\n" " where:\n" " -f fork and test share between processes\n" " -h help: print usage message then exit\n" @@ -223,7 +223,7 @@ tst_ioctl(const char * fnp, int sg_fd, const char * fn2p, int sg_fd2, memset(seip, 0, sizeof(*seip)); seip->valid_wr_mask |= SG_SEIM_RESERVED_SIZE; seip->reserved_sz = reserve_buff_sz; - seip->sgat_elem_sz = 64 * 1024;; + seip->sgat_elem_sz = 64 * 1024; seip->valid_rd_mask |= SG_SEIM_RESERVED_SIZE; seip->valid_rd_mask |= SG_SEIM_RQ_REM_THRESH; seip->valid_rd_mask |= SG_SEIM_TOT_FD_THRESH; |