diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2015-02-27 21:38:53 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2015-02-27 21:38:53 +0000 |
commit | 1ed9b4d9b10a7bdff12bb7a3cd4cb49106b4b444 (patch) | |
tree | 9912673f77a1817d3af37ce5baa7051f5a93d635 /examples | |
parent | 6f785116b5874ae43ec0bf7a93b27997cdcbddf3 (diff) | |
download | sg3_utils-1ed9b4d9b10a7bdff12bb7a3cd4cb49106b4b444.tar.gz |
sg_lib: sg_get_category_sense_str() SG_LIB_CAT_OTHER fix; sg_xcopy cleanup
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@638 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sg_tst_async.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/sg_tst_async.cpp b/examples/sg_tst_async.cpp index c4e28c56..67f247cc 100644 --- a/examples/sg_tst_async.cpp +++ b/examples/sg_tst_async.cpp @@ -58,7 +58,7 @@ #include "sg_io_linux.h" #include "sg_unaligned.h" -static const char * version_str = "1.10 20150214"; +static const char * version_str = "1.11 20150227"; static const char * util_name = "sg_tst_async"; /* This is a test program for checking the async usage of the Linux sg @@ -106,7 +106,7 @@ using namespace std::chrono; #define DEF_TIMEOUT_MS 20000 /* 20 seconds */ #define DEF_LB_SZ 512 #define DEF_BLOCKING 0 -#define DEF_DIRECT 0 /* 1: direct_io, 2: mmap IO */ +#define DEF_DIRECT 0 /* 1: direct_io [future maybe 2: mmap IO] */ #define DEF_NO_XFER 0 #define DEF_LBA 1000 @@ -933,7 +933,7 @@ main(int argc, char * argv[]) switch (c) { case 'd': - op->direct = true; + op->direct = 1; break; case 'f': force = true; |