diff options
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/readv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/readv.c b/cpukit/libcsupport/src/readv.c index 85498b4cbc..cb64797d8d 100644 --- a/cpukit/libcsupport/src/readv.c +++ b/cpukit/libcsupport/src/readv.c @@ -74,7 +74,7 @@ ssize_t readv( if ( !iov[v].iov_base ) rtems_set_errno_and_return_minus_one( EINVAL ); - if ( iov[v].iov_len <= 0 ) + if ( iov[v].iov_len < 0 ) rtems_set_errno_and_return_minus_one( EINVAL ); /* check for wrap */ |