diff options
Diffstat (limited to 'fadvise.c')
-rw-r--r-- | fadvise.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ static void apply_fadvise(const char *path, off_t offset, off_t len, int advice) { int fd; - if ((fd = open(path, O_RDONLY)) < 0) { + if ((fd = open(path, O_RDONLY|O_NOATIME)) < 0) { fprintf(stderr, "%s: open(): %s\n", path, strerror(errno)); return; } |