aboutsummaryrefslogtreecommitdiff
path: root/src/sg_rbuf.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2013-06-04 20:33:26 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2013-06-04 20:33:26 +0000
commit5667f0c5f1da0038ea9afe75b098fe632c857bc0 (patch)
tree33aee328ac9213c59893213c9c5bdbe3248e29c9 /src/sg_rbuf.c
parentdac0bec87054e0a862033d9304c45c9ecbe248c6 (diff)
downloadsg3_utils-5667f0c5f1da0038ea9afe75b098fe632c857bc0.tar.gz
sg_compare_and_write: fix wrprotect bug
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@498 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_rbuf.c')
-rw-r--r--src/sg_rbuf.c6
1 files changed, 3 insertions, 3 deletions
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);