about summary refs log tree commit homepage
path: root/mincore.c
diff options
context:
space:
mode:
Diffstat (limited to 'mincore.c')
-rw-r--r--mincore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mincore.c b/mincore.c
index 3309bd9..c6915f1 100644
--- a/mincore.c
+++ b/mincore.c
@@ -10,7 +10,7 @@ static void mincore_stats(const char *path)
         int fd;
         size_t i;
 
-        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;
         }