aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/sg_tst_ioctl.c6
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;