aboutsummaryrefslogtreecommitdiff
path: root/src/sg_format.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2011-11-11 22:09:55 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2011-11-11 22:09:55 +0000
commita6957bd2e9e786ac1b40635d695e4be51adfdc70 (patch)
tree3e142020cd28771535da7da7fdcdbf361946138d /src/sg_format.c
parent0ad6d0259fa6992c06124759635d468893c5402f (diff)
downloadsg3_utils-a6957bd2e9e786ac1b40635d695e4be51adfdc70.tar.gz
sg_ses: defaults for -D and -I when no other active options
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@425 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_format.c')
-rw-r--r--src/sg_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_format.c b/src/sg_format.c
index 43867adc..791cc276 100644
--- a/src/sg_format.c
+++ b/src/sg_format.c
@@ -152,7 +152,7 @@ usage()
"instead)\n"
" --security|-S set security initialization (SI) bit\n"
" --six|-6 use 6 byte MODE SENSE/SELECT to probe "
- "device\n"
+ "disk\n"
" (def: use 10 byte MODE SENSE/SELECT)\n"
" --size=SIZE|-s SIZE bytes per block, defaults to "
"DEVICE's current\n"
@@ -583,7 +583,7 @@ main(int argc, char **argv)
return SG_LIB_SYNTAX_ERROR;
}
if (NULL == device_name) {
- fprintf(stderr, "no device name given\n");
+ fprintf(stderr, "no DEVICE name given\n");
usage();
return SG_LIB_SYNTAX_ERROR;
}