From 856fb91355bddbe7a15a9d11334c354d8ee7b6d3 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Tue, 15 May 2018 20:44:45 +0000 Subject: cleanup of error messages around sg_cmds_open_device(); add flock error msg for ddpt git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@772 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- src/sg_sat_phy_event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sg_sat_phy_event.c') diff --git a/src/sg_sat_phy_event.c b/src/sg_sat_phy_event.c index 0325c6f7..87b7ce54 100644 --- a/src/sg_sat_phy_event.c +++ b/src/sg_sat_phy_event.c @@ -25,7 +25,7 @@ #include "sg_cmds_extra.h" #include "sg_pr2serr.h" -static const char * version_str = "1.11 20180219"; +static const char * version_str = "1.12 20180515"; /* This program uses a ATA PASS-THROUGH SCSI command. This usage is * defined in the SCSI to ATA Translation (SAT) drafts and standards. @@ -62,6 +62,7 @@ static const char * version_str = "1.11 20180219"; static struct option long_options[] = { {"ck_cond", no_argument, 0, 'c'}, + {"ck-cond", no_argument, 0, 'c'}, {"extend", no_argument, 0, 'e'}, {"hex", no_argument, 0, 'H'}, {"ignore", no_argument, 0, 'i'}, -- cgit v1.2.3