diff options
-rw-r--r-- | lib/utimens.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utimens.c b/lib/utimens.c index 4a9c9c6c4..c39497717 100644 --- a/lib/utimens.c +++ b/lib/utimens.c @@ -81,9 +81,9 @@ futimens (int fd ATTRIBUTE_UNUSED, return 0; /* On GNU/Linux without the futimes syscall and without /proc - mounted, glibc futimes fails with errno == ENOENT. Fall back - on utimes in this case. */ - if (errno != ENOENT) + mounted, glibc futimes fails with errno == ENOENT or ENOSYS. + Fall back on utimes in this case. */ + if (errno != ENOENT && errno != ENOSYS) return -1; } # endif |