diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-26 18:14:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-26 18:14:59 +0000 |
commit | 6684371696819f849f67d63b6845d8fbccc8d05c (patch) | |
tree | 5b42fc959cf17ede1a1737d26d375f7bc9a4ea90 | |
parent | e5a77cd555327457d6af57ba27e37a1aa8abda2a (diff) |
from netbsd: if subdevice not configured, print something out about it.
-rw-r--r-- | sys/arch/alpha/alpha/mainbus.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/mainbus.c b/sys/arch/alpha/alpha/mainbus.c index 22ed3e6c2d7..6ed51a575be 100644 --- a/sys/arch/alpha/alpha/mainbus.c +++ b/sys/arch/alpha/alpha/mainbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.5 1995/11/23 02:34:18 cgd Exp $ */ +/* $NetBSD: mainbus.c,v 1.6 1995/12/20 00:18:50 cgd Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -132,6 +132,10 @@ mbprint(aux, pnp) void *aux; char *pnp; { + struct confargs *ca = aux; + + if (pnp) + printf("%s at %s", ca->ca_name, pnp); return (UNCONF); } |