summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2002-06-28 20:45:44 +0000
committerjason <jason@openbsd.org>2002-06-28 20:45:44 +0000
commit64b13f23c3f6053577574dc346e1e9430549dcfc (patch)
tree4dddead82fdc7f7da2a1d07020e73923bfd6747d
parentRecognize the Fn-arrow combinations (PgUp, PgDwn, Home, End) keys on (diff)
downloadwireguard-openbsd-64b13f23c3f6053577574dc346e1e9430549dcfc.tar.xz
wireguard-openbsd-64b13f23c3f6053577574dc346e1e9430549dcfc.zip
Use %b and print the bitmask of the flags in the debugging message for the extent.
-rw-r--r--sys/kern/subr_extent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c
index 0c99565ae7e..7d67a063618 100644
--- a/sys/kern/subr_extent.c
+++ b/sys/kern/subr_extent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_extent.c,v 1.22 2002/06/11 05:59:25 art Exp $ */
+/* $OpenBSD: subr_extent.c,v 1.23 2002/06/28 20:45:44 jason Exp $ */
/* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */
/*-
@@ -1130,8 +1130,8 @@ extent_print(ex)
if (ex == NULL)
panic("extent_print: NULL extent");
- db_printf("extent `%s' (0x%lx - 0x%lx), flags = 0x%x\n", ex->ex_name,
- ex->ex_start, ex->ex_end, ex->ex_flags);
+ db_printf("extent `%s' (0x%lx - 0x%lx), flags=%b\n", ex->ex_name,
+ ex->ex_start, ex->ex_end, ex->ex_flags, EXF_BITS);
for (rp = ex->ex_regions.lh_first; rp != NULL;
rp = rp->er_link.le_next)