1
1

Perror should say readv in preadv fbtl, currently says writev

This commit was SVN r27610.
Этот коммит содержится в:
Vishwanath Venkatesan 2012-11-15 00:57:13 +00:00
родитель ed05185ade
Коммит ac1dfae007

Просмотреть файл

@ -97,7 +97,7 @@ mca_fbtl_posix_preadv (mca_io_ompio_file_t *fh,
return OMPI_ERROR; return OMPI_ERROR;
} }
if (-1 == readv (fh->fd, iov, iov_count)) { if (-1 == readv (fh->fd, iov, iov_count)) {
perror ("writev"); perror ("readv");
return OMPI_ERROR; return OMPI_ERROR;
} }
else { else {
@ -143,7 +143,7 @@ mca_fbtl_posix_preadv (mca_io_ompio_file_t *fh,
return OMPI_ERROR; return OMPI_ERROR;
} }
if (-1 == readv (fh->fd, iov, iov_count)) { if (-1 == readv (fh->fd, iov, iov_count)) {
perror ("writev"); perror ("readv");
return OMPI_ERROR; return OMPI_ERROR;
} }
else { else {