From fe0d07a1bcfb34c89849f33f85601875cf084e02 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 2 Apr 2016 01:04:57 +0000 Subject: [PATCH] tests/preadv-pwritev.c: fix typo in error diagnostics * tests/preadv-pwritev.c (main): Fix typo in error message. --- tests/preadv-pwritev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/preadv-pwritev.c b/tests/preadv-pwritev.c index e7da9c04..f86d0710 100644 --- a/tests/preadv-pwritev.c +++ b/tests/preadv-pwritev.c @@ -96,7 +96,7 @@ main(void) rc = pwritev(1, w_iov, 0, 0); if (rc) - perror_msg_and_fail("preadv: expected 0, returned %ld", rc); + perror_msg_and_fail("pwritev: expected 0, returned %ld", rc); tprintf("pwritev(1, [], 0, 0) = 0\n"); rc = pwritev(1, w_iov + ARRAY_SIZE(w_iov_) - 1, 2, 0); -- 2.40.0