summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-07-06 18:14:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-07-06 18:14:50 +0000
commit027ac5c978baf9cc4618090fab292d9bea109990 (patch)
tree508149a8a46de043c3a5df3fa9534bb2b9f5ec6e /sys/kern
parenta39609914ae952f693e19479146b2fce4ef92098 (diff)
Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_prf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index 4ad5ed3cea7..2c48e926320 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_prf.c,v 1.66 2006/06/01 23:17:23 jason Exp $ */
+/* $OpenBSD: subr_prf.c,v 1.67 2006/07/06 18:14:49 miod Exp $ */
/* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */
/*-
@@ -68,7 +68,7 @@
#endif
#ifdef DDB
#include <ddb/db_output.h> /* db_printf, db_putchar prototypes */
-extern int db_radix; /* XXX: for non-standard '%r' format */
+#include <ddb/db_var.h> /* db_log, db_radix */
#endif
#if defined(UVM_SWAP_ENCRYPT)
extern int uvm_doswapencrypt;