1
1

ompi_file_delete: output a better error message

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
Jeff Squyres 2016-12-02 11:08:04 -05:00
родитель b2e36f0824
Коммит 1504ffb18d

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

@ -115,10 +115,10 @@ int mca_io_ompio_file_delete (const char *filename,
if (0 > ret ) {
if ( ENOENT == errno ) {
// opal_output (1, "errno = %d %s\n", errno, strerror(errno));
return MPI_ERR_NO_SUCH_FILE;
} else {
opal_output (1, "errno = %d %s\n", errno, strerror(errno));
opal_output (0, "mca_io_ompio_file_delete: Could not remove file %s errno = %d %s\n", filename,
errno, strerror(errno));
return MPI_ERR_ACCESS;
}
}