summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon A. F. Lund <simon.lund@samsung.com>2020-01-28 14:20:05 +0100
committerJens Axboe <axboe@kernel.dk>2020-01-28 08:23:52 -0700
commitb7d0d44812cc34d1ef21632f2180514bf4466ff4 (patch)
tree9f9d53b9f28d794f21ca72dca77d346387aedd2e
parent3f78c17af13d7082d6e3f715487554ef13c3a14d (diff)
downloadliburing-b7d0d44812cc34d1ef21632f2180514bf4466ff4.tar.gz
liburing-b7d0d44812cc34d1ef21632f2180514bf4466ff4.tar.bz2
test/read-write: fixed output, and added 'nonvec', when VERBOSE
Signed-off-by: Simon A. F. Lund <simon.lund@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--test/read-write.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/read-write.c b/test/read-write.c
index face66b..64f8fd5 100644
--- a/test/read-write.c
+++ b/test/read-write.c
@@ -62,9 +62,10 @@ static int test_io(const char *file, int write, int buffered, int sqthread,
static int warned;
#ifdef VERBOSE
- fprintf(stdout, "%s: start %d/%d/%d/%d/%d: ", __FUNCTION__, write,
+ fprintf(stdout, "%s: start %d/%d/%d/%d/%d/%d: ", __FUNCTION__, write,
buffered, sqthread,
- fixed, mixed_fixed);
+ fixed, mixed_fixed,
+ nonvec);
#endif
if (sqthread && geteuid()) {
#ifdef VERBOSE
@@ -212,7 +213,7 @@ static int test_io(const char *file, int write, int buffered, int sqthread,
return 0;
err:
#ifdef VERBOSE
- print("FAILED\n");
+ printf("FAILED\n");
#endif
if (fd != -1)
close(fd);