diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2021-04-08 01:08:07 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2021-04-08 01:08:07 +0000 |
commit | 7901cc4a6d580fddd88afccd8096cf292048db0b (patch) | |
tree | 6b08eb4d8a2465486aa1b81a34261f8e06f6a998 /testing/sg_tst_ioctl.c | |
parent | 3eca65ae2a191c8a94138c4dea4286a9a9011ff0 (diff) | |
download | sg3_utils-7901cc4a6d580fddd88afccd8096cf292048db0b.tar.gz |
tweaking utilities in testing directory
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@894 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing/sg_tst_ioctl.c')
-rw-r--r-- | testing/sg_tst_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/sg_tst_ioctl.c b/testing/sg_tst_ioctl.c index 0dff9f1a..f7a421e9 100644 --- a/testing/sg_tst_ioctl.c +++ b/testing/sg_tst_ioctl.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018-2020 D. Gilbert + * Copyright (C) 2018-2021 D. Gilbert * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) @@ -60,7 +60,7 @@ * later of the Linux sg driver. */ -static const char * version_str = "Version: 1.19 20200825"; +static const char * version_str = "Version: 1.20 20210406"; #define INQ_REPLY_LEN 128 #define INQ_CMD_LEN 6 @@ -1203,7 +1203,7 @@ dname_range_loop: } cp = do_fork ? relative_cp : ""; - if (! do_v3_only) { + if (! do_v3_only && (sg_drv_ver_num > 40030)) { if (tst_extended_ioctl(dname, sg_fd, second_fname, sg_fd2, sock, cp)) goto out; |