summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_variables.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2006-07-06 18:14:48 +0000
committermiod <miod@openbsd.org>2006-07-06 18:14:48 +0000
commit5d10e07cddb4d8a6cdec9497be71404d66eb35d4 (patch)
treef9da5e115f78e64084147939792d0da12e666775 /sys/ddb/db_variables.c
parentRemove db_check_interrupt() related logic, since it was dummied in practice. (diff)
downloadwireguard-openbsd-5d10e07cddb4d8a6cdec9497be71404d66eb35d4.tar.xz
wireguard-openbsd-5d10e07cddb4d8a6cdec9497be71404d66eb35d4.zip
Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency.
Diffstat (limited to 'sys/ddb/db_variables.c')
-rw-r--r--sys/ddb/db_variables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ddb/db_variables.c b/sys/ddb/db_variables.c
index 95399e25aed..f5fd5725fba 100644
--- a/sys/ddb/db_variables.c
+++ b/sys/ddb/db_variables.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_variables.c,v 1.10 2006/03/13 06:23:20 jsg Exp $ */
+/* $OpenBSD: db_variables.c,v 1.11 2006/07/06 18:14:48 miod Exp $ */
/* $NetBSD: db_variables.c,v 1.8 1996/02/05 01:57:19 christos Exp $ */
/*
@@ -47,6 +47,7 @@ struct db_variable db_vars[] = {
{ "maxwidth", (long *)&db_max_width, FCN_NULL },
{ "tabstops", (long *)&db_tab_stop_width, FCN_NULL },
{ "lines", (long *)&db_max_line, FCN_NULL },
+ { "log", (long *)&db_log, FCN_NULL }
};
struct db_variable *db_evars = db_vars + sizeof(db_vars)/sizeof(db_vars[0]);