diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2013-06-04 20:33:26 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2013-06-04 20:33:26 +0000 |
commit | 5667f0c5f1da0038ea9afe75b098fe632c857bc0 (patch) | |
tree | 33aee328ac9213c59893213c9c5bdbe3248e29c9 /src/sg_sanitize.c | |
parent | dac0bec87054e0a862033d9304c45c9ecbe248c6 (diff) | |
download | sg3_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_sanitize.c')
-rw-r--r-- | src/sg_sanitize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_sanitize.c b/src/sg_sanitize.c index 10b0ac85..68f03aa5 100644 --- a/src/sg_sanitize.c +++ b/src/sg_sanitize.c @@ -26,7 +26,7 @@ #include "sg_cmds_basic.h" #include "sg_cmds_extra.h" -static const char * version_str = "0.91 20130507"; +static const char * version_str = "0.92 20130603"; /* Not all environments support the Unix sleep() */ #if defined(MSC_VER) || defined(__MINGW32__) @@ -222,7 +222,7 @@ do_sanitize(int sg_fd, const struct opts_t * op, const void * param_lstp, valid = sg_get_sense_info_fld(sense_b, slen, &ull); if (valid) fprintf(stderr, "Medium or hardware error starting at " - "lba=%"PRIu64" [0x%"PRIx64"]\n", ull, ull); + "lba=%" PRIu64 " [0x%" PRIx64 "]\n", ull, ull); } ret = sense_cat; break; |