diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2008-06-04 18:56:15 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2008-06-04 18:56:15 +0000 |
commit | 1ed38622e036161089f63939413f673c79ac81f0 (patch) | |
tree | cfafc43e27e6e88e7e3da3e36dcee3c7859d0fcf /src/sg_write_long.c | |
parent | e435ab5aeb5b54382ded4a6525c2b5f4c4956f72 (diff) | |
download | sg3_utils-1ed38622e036161089f63939413f673c79ac81f0.tar.gz |
remove trailing spaces from various source files
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@178 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_write_long.c')
-rw-r--r-- | src/sg_write_long.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_write_long.c b/src/sg_write_long.c index ff9008dc..fa3f2e6a 100644 --- a/src/sg_write_long.c +++ b/src/sg_write_long.c @@ -22,7 +22,7 @@ * the Free Software Foundation; either version 2, or (at your option) * any later version. - This program issues the SCSI command WRITE LONG to a given SCSI device. + This program issues the SCSI command WRITE LONG to a given SCSI device. It sends the command with the logical block address passed as the lba argument, and the transfer length set to the xfer_len argument. the buffer to be writen to the device filled with 0xff, this buffer includes @@ -105,7 +105,7 @@ int main(int argc, char * argv[]) char ebuff[EBUFF_SZ]; const char * ten_or; int ret = 1; - + memset(file_name, 0, sizeof file_name); while (1) { int option_index = 0; @@ -195,7 +195,7 @@ int main(int argc, char * argv[]) safe_strerror(-sg_fd)); return SG_LIB_FILE_ERROR; } - + if (wr_uncor) { if ('\0' != file_name[0]) fprintf(stderr, ">>> warning: when '--wr_uncor' given " |