From 017aa7827624e209683c4376074d598ed518e915 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Wed, 22 Jul 2009 02:22:05 +0000 Subject: 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 --- src/sg_read.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sg_read.c') 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; -- cgit v1.2.3