diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2012-12-11 12:56:34 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2012-12-11 12:56:34 +0000 |
commit | fb2bb1d405f644838718d009b8729e0e2ea73d88 (patch) | |
tree | 500d96fa3ba2f87a9a25421f0d1ea3eebfd1bfbc /src/sg_sanitize.c | |
parent | 59d30db8fe57032c0f469967159af3009eb95faa (diff) | |
download | sg3_utils-fb2bb1d405f644838718d009b8729e0e2ea73d88.tar.gz |
run cleanfile over C source and headers
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@470 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_sanitize.c')
-rw-r--r-- | src/sg_sanitize.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sg_sanitize.c b/src/sg_sanitize.c index 9b5cd381..07f5766a 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 char * version_str = "0.91 20120222"; +static char * version_str = "0.91 20121211"; /* Not all environments support the Unix sleep() */ #if defined(MSC_VER) || defined(__MINGW32__) @@ -98,12 +98,12 @@ static void usage() { fprintf(stderr, "Usage: " - "sg_sanitize [--ause] [--block] [--count=OC] [--crypto] [--early] " - "[--fail] [--help]\n" - " [--invert] [--ipl=LEN] [--overwrite] " - "[--pattern=PF]\n" - " [--quick] [--test=TE] [--verbose] [--version] [--wait] " - "DEVICE\n" + "sg_sanitize [--ause] [--block] [--count=OC] [--crypto] [--early]\n" + " [--fail] [--help] [--invert] [--ipl=LEN] " + "[--overwrite]\n" + " [--pattern=PF] [--quick] [--test=TE] " + "[--verbose]\n" + " [--version] [--wait] DEVICE\n" " where:\n" " --ause|-A set AUSE bit in cdb\n" " --block|-B do BLOCK ERASE sanitize\n" @@ -389,7 +389,7 @@ main(int argc, char * argv[]) } } - + sg_fd = sg_cmds_open_device(device_name, 0 /* rw */, vb); if (sg_fd < 0) { fprintf(stderr, ME "open error: %s: %s\n", device_name, |