From 919290b79eb6649d6d05242180ddb3944ca9521b Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Thu, 24 May 2018 01:13:38 +0000 Subject: add SG_LIB_LOGIC_ERROR and SG_LIB_CONTRADICT; implement across many utilities and increase usage of sg_convert_errno() git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@774 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- src/sg_timestamp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sg_timestamp.c') diff --git a/src/sg_timestamp.c b/src/sg_timestamp.c index 51d7d7f4..207d96f7 100644 --- a/src/sg_timestamp.c +++ b/src/sg_timestamp.c @@ -35,7 +35,7 @@ * to the given SCSI device. Based on spc5r07.pdf . */ -static const char * version_str = "1.09 20180519"; +static const char * version_str = "1.10 20180523"; #define REP_TIMESTAMP_CMDLEN 12 #define SET_TIMESTAMP_CMDLEN 12 @@ -417,7 +417,7 @@ main(int argc, char * argv[]) pr2serr("either --milliseconds=MS or --seconds=SECS may be given, " "not both\n"); usage(1); - return SG_LIB_SYNTAX_ERROR; + return SG_LIB_CONTRADICT; } if (NULL == device_name) { -- cgit v1.2.3