From eafdef57ab503c33fc9f3978aef63d73584edac8 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 31 Mar 2024 22:19:15 -0400 Subject: 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 --- sys/include/sys/mount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3