diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-02-03 02:38:23 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-02-03 02:38:23 +0000 |
commit | 6b32eacd43ada71e267506e510db11e8988cc7dc (patch) | |
tree | 394e5b9921dfd8bf199310581609e945f4b76e7d /testing | |
parent | d5890d56b6bcb6d1aa277f0bab78abb1ef66a88e (diff) | |
download | sg3_utils-6b32eacd43ada71e267506e510db11e8988cc7dc.tar.gz |
sg_rep_zones: add --brief option and --find ZT option; sg_modes: improve handling of zbc disks with pdt=0x14
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@935 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing')
-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 5f361d7b..1d396eb0 100644 --- a/testing/sg_tst_ioctl.c +++ b/testing/sg_tst_ioctl.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018-2021 D. Gilbert + * Copyright (C) 2018-2022 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.20 20210406"; +static const char * version_str = "Version: 1.21 20220202"; #define INQ_REPLY_LEN 128 #define INQ_CMD_LEN 6 @@ -193,7 +193,7 @@ timespec_diff(const struct timespec *lhs_p, const struct timespec *rhs_p, } /* Returns 0 on success. */ -int timespec2str(char *buf, uint len, struct timespec *ts) +int timespec2str(char *buf, unsigned int len, struct timespec *ts) { int ret; struct tm t; |