aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-31 22:19:15 -0400
committerIan Moffett <ian@osmora.org>2024-03-31 22:19:34 -0400
commiteafdef57ab503c33fc9f3978aef63d73584edac8 (patch)
tree25ab5d2ee665e8ea12154e07070dd0afa982f1aa /sys/include
parentd9be2d236015bf33c4edd4098da67c8241effec5 (diff)
kernel: mount: Make MNT_RDONLY zero
If no flags are specified (0), it would be undefined if MNT_RDONLY weren't zero Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/mount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/sys/mount.h b/sys/include/sys/mount.h
index 209fa3e..2eb885d 100644
--- a/sys/include/sys/mount.h
+++ b/sys/include/sys/mount.h
@@ -66,7 +66,7 @@ struct fs_info {
/*
* Mount flags
*/
-#define MNT_RDONLY 0x00000001
+#define MNT_RDONLY 0x00000000
#if defined(_KERNEL)
int vfs_mount(const char *path, int mntflags);