summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2001-12-08 17:11:55 +0000
committermiod <miod@openbsd.org>2001-12-08 17:11:55 +0000
commit7b85dcb5560caae3e90d3f2423a5e9e54571a0da (patch)
treeffcd704d5aa1a353674141870f3936918d3bf1a8
parentUpdate hardware list, fix a few typos as well. (diff)
downloadwireguard-openbsd-7b85dcb5560caae3e90d3f2423a5e9e54571a0da.tar.xz
wireguard-openbsd-7b85dcb5560caae3e90d3f2423a5e9e54571a0da.zip
db_console is declared in <ddb/db_var.h>. Fix a typo while there, too.
-rw-r--r--sys/arch/sparc64/dev/pcons.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/pcons.c b/sys/arch/sparc64/dev/pcons.c
index 3161db444fe..5f560c77779 100644
--- a/sys/arch/sparc64/dev/pcons.c
+++ b/sys/arch/sparc64/dev/pcons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcons.c,v 1.2 2001/09/04 13:22:13 art Exp $ */
+/* $OpenBSD: pcons.c,v 1.3 2001/12/08 17:11:55 miod Exp $ */
/* $NetBSD: pcons.c,v 1.7 2001/05/02 10:32:20 scw Exp $ */
/*-
@@ -69,8 +69,8 @@ typedef struct cnm_state {
int cnm_state;
u_short *cnm_magic;
} cnm_state_t;
-extern int db_console;
#ifdef DDB
+#include <ddb/db_var.h>
#define cn_trap() do { if (db_console) Debugger(); } while (0)
#else
#define cn_trap()
@@ -463,7 +463,7 @@ cn_set_magic(char *magic)
}
/*
- * Translatea state machine table back to
+ * Translate a state machine table back to
* a magic string.
*/
int