diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2009-07-22 02:22:05 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2009-07-22 02:22:05 +0000 |
commit | 017aa7827624e209683c4376074d598ed518e915 (patch) | |
tree | 9ad686b4865d2384dc72058ef8284996f4d0da79 /src/sg_read.c | |
parent | 137715a6cb23b4d53521fdeffbfb6164bce4781b (diff) | |
download | sg3_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_read.c')
-rw-r--r-- | src/sg_read.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sg_read.c b/src/sg_read.c index b18bfa33..0412bbc4 100644 --- a/src/sg_read.c +++ b/src/sg_read.c @@ -28,7 +28,7 @@ #include "sg_io_linux.h" /* A utility program for the Linux OS SCSI generic ("sg") device driver. -* Copyright (C) 2001 - 2007 D. Gilbert +* Copyright (C) 2001 - 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) @@ -47,7 +47,7 @@ */ -static const char * version_str = "1.18 20071226"; +static const char * version_str = "1.18 20090717"; #define DEF_BLOCK_SIZE 512 #define DEF_BLOCKS_PER_TRANSFER 128 @@ -578,7 +578,7 @@ int main(int argc, char * argv[]) } } if (verbose) - fprintf(stderr, "Opened %s for SG_IO with flags=0x%x\n", inf, + fprintf(stderr, "Opened %s for SG_IO with flags=%#x\n", inf, flags); if ((dd_count > 0) && (! (FT_BLOCK & in_type))) { if (verbose > 2) { @@ -623,7 +623,7 @@ int main(int argc, char * argv[]) return SG_LIB_FILE_ERROR; } if (verbose) - fprintf(stderr, "Opened %s for Unix reads with flags=0x%x\n", + fprintf(stderr, "Opened %s for Unix reads with flags=%#x\n", inf, flags); if (skip > 0) { off64_t offset = skip; |