diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2009-07-24 19:58:51 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2009-07-24 19:58:51 +0000 |
commit | 7a31f052e8013960cc162447397ca552ff50dfb2 (patch) | |
tree | dae6957e16343aa34d23a8f639fc9f8be37e875a /src/sg_turs.c | |
parent | 42a33ce7e76f90eea8e60d7efbd65a44b1f0c65a (diff) | |
download | sg3_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_turs.c')
-rw-r--r-- | src/sg_turs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_turs.c b/src/sg_turs.c index 2c67d77b..933fb66f 100644 --- a/src/sg_turs.c +++ b/src/sg_turs.c @@ -29,7 +29,7 @@ */ -static char * version_str = "3.27 20090717"; +static char * version_str = "3.27 20090422"; #if defined(MSC_VER) || defined(__MINGW32__) #define HAVE_MS_SLEEP @@ -152,7 +152,7 @@ static int 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(); |