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_start.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_start.c')
-rw-r--r-- | src/sg_start.c | 6 |
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(); |