From c60eb07b7d07b3d85d87f42e7f0dc9f9a9a0aea3 Mon Sep 17 00:00:00 2001 From: riastradh Date: Fri, 24 Dec 2021 21:57:49 +0000 Subject: malo(4): Fix line breaks in attach output. --- sys/dev/ic/malo.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c index 07aba8cd77d..328bf84ec21 100644 --- a/sys/dev/ic/malo.c +++ b/sys/dev/ic/malo.c @@ -1,4 +1,4 @@ -/* $NetBSD: malo.c,v 1.19 2021/06/16 00:21:18 riastradh Exp $ */ +/* $NetBSD: malo.c,v 1.20 2021/12/24 21:57:49 riastradh Exp $ */ /* $OpenBSD: malo.c,v 1.92 2010/08/27 17:08:00 jsg Exp $ */ /* @@ -19,7 +19,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.19 2021/06/16 00:21:18 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.20 2021/12/24 21:57:49 riastradh Exp $"); #include #include @@ -419,7 +419,8 @@ malo_attach(struct malo_softc *sc) ic->ic_myaddr[i] = malo_ctl_read1(sc, 0xa528 + i); /* show our mac address */ - aprint_normal(", address %s\n", ether_sprintf(ic->ic_myaddr)); + aprint_normal_dev(sc->sc_dev, "address %s\n", + ether_sprintf(ic->ic_myaddr)); /* attach interface */ if_initialize(ifp); -- cgit