From eaf4f3bb70012ded7e0c2a2ccb053531ea80d4d0 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Fri, 31 Oct 2014 11:46:48 +0000 Subject: 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 --- examples/sg_tst_async.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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)) -- cgit v1.2.3