Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic malo(4): Fix line breaks in attach output.



details:   https://anonhg.NetBSD.org/src/rev/69f1c8a4100d
branches:  trunk
changeset: 1029180:69f1c8a4100d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Dec 24 21:57:49 2021 +0000

description:
malo(4): Fix line breaks in attach output.

diffstat:

 sys/dev/ic/malo.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 80f0f89fe596 -r 69f1c8a4100d sys/dev/ic/malo.c
--- a/sys/dev/ic/malo.c Fri Dec 24 21:52:48 2021 +0000
+++ b/sys/dev/ic/malo.c Fri Dec 24 21:57:49 2021 +0000
@@ -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 @@
                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);



Home | Main Index | Thread Index | Old Index