Skip to content

Commit 612e928

Browse files
committed
[Issue #203] change error message wording
1 parent b0e90be commit 612e928

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/utils/file.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ DIR* fio_opendir(char const* path, fio_location location)
262262
mask = fio_fdset;
263263
for (i = 0; (mask & 1) != 0; i++, mask >>= 1);
264264
if (i == FIO_FDMAX) {
265-
elog(ERROR, "FIO_FDMAX is exceeded in fio_opendir, "
266-
"probably too many remote directories has been opened");
265+
elog(ERROR, "Descriptor pool for remote files is exhausted, "
266+
"probably too many remote directories are opened");
267267
}
268268
hdr.cop = FIO_OPENDIR;
269269
hdr.handle = i;
@@ -351,8 +351,8 @@ int fio_open(char const* path, int mode, fio_location location)
351351
mask = fio_fdset;
352352
for (i = 0; (mask & 1) != 0; i++, mask >>= 1);
353353
if (i == FIO_FDMAX)
354-
elog(ERROR, "FIO_FDMAX is exceeded in fio_open, "
355-
"probably too many remote files has been opened");
354+
elog(ERROR, "Descriptor pool for remote files is exhausted, "
355+
"probably too many remote files are opened");
356356

357357
hdr.cop = FIO_OPEN;
358358
hdr.handle = i;

0 commit comments

Comments
 (0)