aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-01-10 14:30:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-01-10 14:30:48 +0100
commitd580a97c6c8a1e1419cc7c21f6dd9d1d12b79f92 (patch)
tree7fc88b3acac96a46ed2458a7f8e41a6bf29ec90d
parenteb9e171886487acc55115d8ea38141edce2eae6a (diff)
downloadhurd-d580a97c6c8a1e1419cc7c21f6dd9d1d12b79f92.tar.gz
hurd-d580a97c6c8a1e1419cc7c21f6dd9d1d12b79f92.tar.bz2
hurd-d580a97c6c8a1e1419cc7c21f6dd9d1d12b79f92.zip
rtc: Fix crash on reading
-rw-r--r--rtc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/main.c b/rtc/main.c
index 19bf73b9..67b9067c 100644
--- a/rtc/main.c
+++ b/rtc/main.c
@@ -36,7 +36,7 @@ static struct trivfs_control *rtccntl;
int trivfs_fstype = FSTYPE_DEV;
int trivfs_fsid = 0;
-int trivfs_support_read = 1;
+int trivfs_support_read = 0;
int trivfs_support_write = 0;
int trivfs_support_exec = 0;
int trivfs_allow_open = O_READ | O_WRITE;