aboutsummaryrefslogtreecommitdiff
path: root/src/sg_read.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-11-12 10:21:43 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-11-12 10:21:43 +0000
commitd6e191ba93e7188a95b6b4fd73dbfa9157dda3ac (patch)
treeb7922738087442890c4593eda919fd9bd47ab78c /src/sg_read.c
parent01a118fb35301362b2139eff62d1e33e9b634ac9 (diff)
downloadsg3_utils-d6e191ba93e7188a95b6b4fd73dbfa9157dda3ac.tar.gz
sg_scan(win32): expand limits for big arrays; rescan-scsi-bus: widen LUN 0 only scanning; add SG_LIB_WINDOWS_ERR
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@795 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_read.c')
-rw-r--r--src/sg_read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_read.c b/src/sg_read.c
index fb959c96..135d7408 100644
--- a/src/sg_read.c
+++ b/src/sg_read.c
@@ -10,8 +10,8 @@
multiple reads all starting from the same logical address. Its interface
is a subset of another member of this package: sg_dd which is a
"dd" variant. The input file can be a scsi generic device, a block device,
- a raw device or a seekable file. Streams such as stdin are not acceptable.
- The block size ('bs') is assumed to be 512 if not given.
+ or a seekable file. Streams such as stdin are not acceptable. The block
+ size ('bs') is assumed to be 512 if not given.
This version should compile with Linux sg drivers with version numbers
>= 30000 . For mmap-ed IO the sg version number >= 30122 .
@@ -75,7 +75,7 @@ static const char * version_str = "1.34 20180811";
#define RAW_MAJOR 255 /*unlikey value */
#endif
-#define FT_OTHER 1 /* filetype other than sg or raw device */
+#define FT_OTHER 1 /* filetype other than sg and ... */
#define FT_SG 2 /* filetype is sg char device */
#define FT_RAW 4 /* filetype is raw char device */
#define FT_BLOCK 8 /* filetype is block device */