summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index 80e5502..051a2c5 100644
--- a/ratox.c
+++ b/ratox.c
@@ -557,7 +557,7 @@ dataload(void)
uint8_t *data;
int fd;
- fd = open(DATAFILE, 0444);
+ fd = open(DATAFILE, O_RDONLY);
if (fd < 0) {
if (encryptdatafile == 1)
while (readpass("New passphrase: ") == -1);