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 /utils | |
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 'utils')
-rw-r--r-- | utils/sg_chk_asc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/sg_chk_asc.c b/utils/sg_chk_asc.c index e27e5eb0..14d2c090 100644 --- a/utils/sg_chk_asc.c +++ b/utils/sg_chk_asc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2009 Douglas Gilbert. + * Copyright (c) 2006-2008 Douglas Gilbert. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -47,7 +47,7 @@ * http://www.t10.org/lists/asc-num.txt */ -static char * version_str = "1.03 20080716"; +static char * version_str = "1.03 20080623"; #define ME "sg_chk_asc: " @@ -109,7 +109,7 @@ int main(int argc, char * argv[]) fprintf(stderr, ME "version: %s\n", version_str); return 0; default: - fprintf(stderr, "unrecognised switch code %#x ??\n", c); + fprintf(stderr, "unrecognised switch code 0x%x ??\n", c); usage(); return 1; } |