summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-01-20 20:12:12 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-01-20 20:12:12 +0000
commit85d079162669fb4fb5151e58089629c1e768385a (patch)
tree38ac4210475a0dbf8321b37c2126ab2c6ab83e25 /sys/kern
parentff271030de343ddbb146d2b95c2d31bb0b0c2558 (diff)
typo
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_autoconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index e74ea78eeac..fa8751e8eee 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_autoconf.c,v 1.17 1998/01/20 19:05:02 niklas Exp $ */
+/* $OpenBSD: subr_autoconf.c,v 1.18 1998/01/20 20:12:11 niklas Exp $ */
/* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */
/*
@@ -202,8 +202,8 @@ config_search(fn, parent, aux)
}
if (autoconf_verbose)
printf(">>> probe for %s%d won\n",
- ((struct cfdata *)match)->cf_driver->cd_name,
- ((struct cfdata *)match)->cf_unit);
+ ((struct cfdata *)m.match)->cf_driver->cd_name,
+ ((struct cfdata *)m.match)->cf_unit);
return (m.match);
}
@@ -302,7 +302,7 @@ config_found_sm(parent, aux, print, submatch)
{
void *match;
- if ((match = config_search(submatch, parent, aux)) != NULL) {
+ if ((match = config_search(submatch, parent, aux)) != NULL)
return (config_attach(parent, match, aux, print));
if (print)
printf(msgs[(*print)(aux, parent->dv_xname)]);