diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-10-06 18:44:23 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-10-06 18:44:23 +0000 |
commit | bdbfe8542d3779c2932ee03047c84a050edc7a97 (patch) | |
tree | 4dc4cfab1863952d916bf293d9fae196d4745126 | |
parent | 9472a0a9fe9f00e39e768042672be1ba6f3bec51 (diff) |
The mount point flags were displayed in octal when printed by ddb.
All other bit fields use hex as well as the MNT_ constants. Change
this to hex to make it cosistent and less confusing.
OK krw@
-rw-r--r-- | sys/sys/mount.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 8a58bcd5e00..f71ce3e852f 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.h,v 1.130 2017/04/16 14:24:03 beck Exp $ */ +/* $OpenBSD: mount.h,v 1.131 2017/10/06 18:44:22 bluhm Exp $ */ /* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */ /* @@ -399,7 +399,7 @@ struct mount { #define MNT_VISFLAGMASK 0x0400ffff #define MNT_BITS \ - "\010\001RDONLY\002SYNCHRONOUS\003NOEXEC\004NOSUID\005NODEV\006NOPERM" \ + "\20\001RDONLY\002SYNCHRONOUS\003NOEXEC\004NOSUID\005NODEV\006NOPERM" \ "\007ASYNC\010EXRDONLY\011EXPORTED\012DEFEXPORTED\013EXPORTANON" \ "\014WXALLOWED\015LOCAL\016QUOTA\017ROOTFS\020NOATIME" |