From 5667f0c5f1da0038ea9afe75b098fe632c857bc0 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Tue, 4 Jun 2013 20:33:26 +0000 Subject: sg_compare_and_write: fix wrprotect bug git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@498 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- src/sg_rbuf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sg_rbuf.c') diff --git a/src/sg_rbuf.c b/src/sg_rbuf.c index f5c1b56b..f7bb9c26 100644 --- a/src/sg_rbuf.c +++ b/src/sg_rbuf.c @@ -51,7 +51,7 @@ #endif -static const char * version_str = "4.89 20130507"; +static const char * version_str = "4.90 20130603"; static struct option long_options[] = { {"buffer", 1, 0, 'b'}, @@ -608,8 +608,8 @@ main(int argc, char * argv[]) } if (dio_incomplete) printf(">> direct IO requested but not done\n"); - printf("Read %"PRId64" MiB (actual: %"PRId64" bytes), buffer size=%d KiB " - "(%d bytes)\n", (total_size / (1024 * 1024)), + printf("Read %" PRId64 " MiB (actual: %" PRId64 " bytes), buffer " + "size=%d KiB (%d bytes)\n", (total_size / (1024 * 1024)), (int64_t)num * buf_size, buf_size / 1024, buf_size); if (rawp) free(rawp); -- cgit v1.2.3