diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2010-12-23 06:03:31 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2010-12-23 06:03:31 +0000 |
commit | c89e9c95d3916cef4e157e8c5d7a2f2919213994 (patch) | |
tree | ae90d607c9cb3f4282ed4059574e266e7f18d054 /src/sg_write_long.c | |
parent | 3c60a8b8991001fe80ffdd95ca77bcce40b035eb (diff) | |
download | sg3_utils-c89e9c95d3916cef4e157e8c5d7a2f2919213994.tar.gz |
sg_cmd_basic: tweak resid so shown on medium errors
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@368 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_write_long.c')
-rw-r--r-- | src/sg_write_long.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sg_write_long.c b/src/sg_write_long.c index 501e1d54..cd9d0212 100644 --- a/src/sg_write_long.c +++ b/src/sg_write_long.c @@ -16,7 +16,7 @@ #include "sg_cmds_extra.h" /* A utility program for the Linux OS SCSI subsystem. - * Copyright (C) 2004-2009 D. Gilbert + * Copyright (C) 2004-2010 D. Gilbert * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) @@ -31,7 +31,7 @@ This code was contributed by Saeed Bishara */ -static char * version_str = "1.17 20090420"; +static char * version_str = "1.18 20101215"; #define MAX_XFER_LEN 10000 @@ -85,7 +85,9 @@ usage() " --xfer_len=BTL|-x BTL byte transfer length (< 10000) " "(default:\n" " 520 bytes)\n\n" - "Performs a SCSI WRITE LONG (10 or 16) command\n" + "Performs a SCSI WRITE LONG (10 or 16) command. Writes a single " + "block\nincluding associated ECC data. Valid data can be obtained " + "from the\nSCSI READ LONG command. See the sg_read_long utility.\n" ); } |