From bdbfe8542d3779c2932ee03047c84a050edc7a97 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Fri, 6 Oct 2017 18:44:23 +0000 Subject: 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@ --- sys/sys/mount.h | 4 ++-- 1 file 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" -- cgit v1.2.3