summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/utime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utime.c b/lib/utime.c
index 557444c0d..8e6c37d64 100644
--- a/lib/utime.c
+++ b/lib/utime.c
@@ -54,7 +54,7 @@ utime_null (const char *file)
int status = 0;
struct stat sb;
- fd = open (file, O_RDWR, 0666);
+ fd = open (file, O_RDWR);
if (fd < 0
|| fstat (fd, &sb) < 0
|| safe_read (fd, &c, sizeof (char)) < 0