aboutsummaryrefslogtreecommitdiff
path: root/src/sg_start.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2009-07-22 02:22:05 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2009-07-22 02:22:05 +0000
commit017aa7827624e209683c4376074d598ed518e915 (patch)
tree9ad686b4865d2384dc72058ef8284996f4d0da79 /src/sg_start.c
parent137715a6cb23b4d53521fdeffbfb6164bce4781b (diff)
downloadsg3_utils-017aa7827624e209683c4376074d598ed518e915.tar.gz
change many printf(0x%x) format strings to %#x
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@281 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 bec9e555..a6c8ab9f 100644
--- a/src/sg_start.c
+++ b/src/sg_start.c
@@ -12,7 +12,7 @@
#include "sg_cmds_basic.h"
/*
- * Copyright (C) 1999-2008 D. Gilbert
+ * Copyright (C) 1999-2009 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 20080325"; /* sbc3r14; mmc6r01a */
+static char * version_str = "0.57 20090717"; /* 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 [0x%x]\n", c, c);
+ fprintf(stderr, "unrecognised option code %c [%#x]\n", c, c);
if (optsp->do_help)
break;
usage();