aboutsummaryrefslogtreecommitdiff
path: root/src/sg_unmap.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2013-06-28 17:44:32 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2013-06-28 17:44:32 +0000
commit43c7d125abce23c3d72346ae3e0b18287047e3be (patch)
tree85b7550513005c640b9ff9756328e250ea8d7122 /src/sg_unmap.c
parente9d9937bb92e1b630020c3a9c2d8b09e5bd20036 (diff)
downloadsg3_utils-43c7d125abce23c3d72346ae3e0b18287047e3be.tar.gz
sg_persist+sg_unmap: fix crash on option decode; sg_logs: expand for tape; sg_xcopy+: clean
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@500 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_unmap.c')
-rw-r--r--src/sg_unmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_unmap.c b/src/sg_unmap.c
index 1f6f9f41..899df84f 100644
--- a/src/sg_unmap.c
+++ b/src/sg_unmap.c
@@ -29,7 +29,7 @@
* logical blocks.
*/
-static const char * version_str = "1.02 20130507";
+static const char * version_str = "1.03 20130627";
#define DEF_TIMEOUT_SECS 60
@@ -347,7 +347,7 @@ main(int argc, char * argv[])
while (1) {
int option_index = 0;
- c = getopt_long(argc, argv, "aghIHl:n:t:vV", long_options,
+ c = getopt_long(argc, argv, "ag:hIHl:n:t:vV", long_options,
&option_index);
if (c == -1)
break;
@@ -361,7 +361,7 @@ main(int argc, char * argv[])
if ((1 == num) && ((res < 0) || (res > 31)))
grpnum = res;
else {
- fprintf(stderr, "value for '--grpnum=' must be 0 to31\n");
+ fprintf(stderr, "value for '--grpnum=' must be 0 to 31\n");
return SG_LIB_SYNTAX_ERROR;
}
break;