diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tst-preadvwritev2-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tst-preadvwritev2-common.c b/misc/tst-preadvwritev2-common.c index 4556421..2d2f874 100644 --- a/misc/tst-preadvwritev2-common.c +++ b/misc/tst-preadvwritev2-common.c @@ -97,7 +97,7 @@ do_test_with_invalid_iov (void) { /* An invalid iovec buffer should trigger an invalid memory access or an error (Linux for instance returns EFAULT). */ - struct iovec iov[IOV_MAX+1] = { 0 }; + struct iovec iov[IOV_MAX+1] = { }; TEST_VERIFY (preadv2 (temp_fd, iov, IOV_MAX + 1, 0, RWF_HIPRI) == -1); TEST_VERIFY (errno == EINVAL || errno == ENOTSUP); |