aboutsummaryrefslogtreecommitdiff
path: root/src/sg_start.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2009-07-24 19:58:51 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2009-07-24 19:58:51 +0000
commit7a31f052e8013960cc162447397ca552ff50dfb2 (patch)
treedae6957e16343aa34d23a8f639fc9f8be37e875a /src/sg_start.c
parent42a33ce7e76f90eea8e60d7efbd65a44b1f0c65a (diff)
downloadsg3_utils-7a31f052e8013960cc162447397ca552ff50dfb2.tar.gz
reverse out printf(%#) change, broken for %#02x when value is 0
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@284 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_start.c')
-rw-r--r--src/sg_start.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_start.c b/src/sg_start.c
index a6c8ab9f..bec9e555 100644
--- a/src/sg_start.c
+++ b/src/sg_start.c
@@ -12,7 +12,7 @@
#include "sg_cmds_basic.h"
/*
- * Copyright (C) 1999-2009 D. Gilbert
+ * Copyright (C) 1999-2008 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)
@@ -30,7 +30,7 @@
*/
-static char * version_str = "0.57 20090717"; /* sbc3r14; mmc6r01a */
+static char * version_str = "0.57 20080325"; /* sbc3r14; mmc6r01a */
static struct option long_options[] = {
{"eject", 0, 0, 'e'},
@@ -238,7 +238,7 @@ process_cl_new(struct opts_t * optsp, int argc, char * argv[])
++optsp->do_version;
break;
default:
- fprintf(stderr, "unrecognised option code %c [%#x]\n", c, c);
+ fprintf(stderr, "unrecognised option code %c [0x%x]\n", c, c);
if (optsp->do_help)
break;
usage();