diff options
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; |