aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2014-10-31 11:46:48 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2014-10-31 11:46:48 +0000
commiteaf4f3bb70012ded7e0c2a2ccb053531ea80d4d0 (patch)
tree9868136c62e13b5c6f4f830077b0d5fb2c2bb0ff /examples
parent52f1deb80e4e6c14c8e75703695c32fc98590189 (diff)
downloadsg3_utils-eaf4f3bb70012ded7e0c2a2ccb053531ea80d4d0.tar.gz
sg_vpd: add zoned block device characteristics page; sg_ses: sync with ses3r07
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@619 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'examples')
-rw-r--r--examples/sg_tst_async.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/sg_tst_async.cpp b/examples/sg_tst_async.cpp
index fa3c3769..a070a819 100644
--- a/examples/sg_tst_async.cpp
+++ b/examples/sg_tst_async.cpp
@@ -57,7 +57,7 @@
#include "sg_io_linux.h"
#include "sg_unaligned.h"
-static const char * version_str = "1.07 20140827";
+static const char * version_str = "1.08 20141028";
static const char * util_name = "sg_tst_async";
/* This is a test program for checking the async usage of the Linux sg
@@ -932,7 +932,7 @@ main(int argc, char * argv[])
} else if (0 == memcmp("-n", argv[k], 2)) {
++k;
if ((k < argc) && isdigit(*argv[k]))
- op->num_per_thread = atoi(argv[k]);
+ op->num_per_thread = sg_get_num(argv[k]);
else
break;
} else if (0 == memcmp("-N", argv[k], 2))