aboutsummaryrefslogtreecommitdiff
path: root/src/sg_reset_wp.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2016-05-20 09:48:10 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2016-05-20 09:48:10 +0000
commitf5c8a581f700e2fa941823b840c12db978c39899 (patch)
tree7301e7379eaf1219c2e4573819fa671fca3f7d19 /src/sg_reset_wp.c
parent8f88e67fae68d46f39da646cf5d069d769e83e93 (diff)
downloadsg3_utils-f5c8a581f700e2fa941823b840c12db978c39899.tar.gz
add sg_bg_ctl; small cleanups
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@706 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_reset_wp.c')
-rw-r--r--src/sg_reset_wp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sg_reset_wp.c b/src/sg_reset_wp.c
index 1e24ebab..93613e8b 100644
--- a/src/sg_reset_wp.c
+++ b/src/sg_reset_wp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015 Douglas Gilbert.
+ * Copyright (c) 2014-2016 Douglas Gilbert.
* All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the BSD_LICENSE file.
@@ -32,7 +32,7 @@
* device. Based on zbc-r04c.pdf .
*/
-static const char * version_str = "1.04 20151219";
+static const char * version_str = "1.05 20160519";
#define SG_ZONING_OUT_CMDLEN 16
#define RESET_WRITE_POINTER_SA 0x4
@@ -63,10 +63,10 @@ usage()
" --all|-a sets the ALL flag in the cdb\n"
" --help|-h print out usage message\n"
" --verbose|-v increase verbosity\n"
- " --version|-V print version string and exit\n\n"
+ " --version|-V print version string and exit\n"
" --zone=ID|-z ID ID is the starting LBA of the zone "
"whose\n"
- " write pointer is to be reset\n"
+ " write pointer is to be reset\n\n"
"Performs a SCSI RESET WRITE POINTER command. ID is decimal by "
"default,\nfor hex use a leading '0x' or a trailing 'h'. "
"Either the --zone=ID\nor --all option needs to be given.\n");