summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2021-12-24 21:57:49 +0000
committerriastradh <riastradh@NetBSD.org>2021-12-24 21:57:49 +0000
commitc60eb07b7d07b3d85d87f42e7f0dc9f9a9a0aea3 (patch)
tree51c85af8d63c7a8e5d366ab107eebd953bfba878 /sys/dev/ic
parentb386473a9b8b9b362dccc5ac6690ea890b4aaaa8 (diff)
malo(4): Fix line breaks in attach output.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/malo.c7
1 files changed, 4 insertions, 3 deletions
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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/types.h>
@@ -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);