Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci avoid printing an empty line in the sb800 case



details:   https://anonhg.NetBSD.org/src/rev/96bebd789aac
branches:  trunk
changeset: 770109:96bebd789aac
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Oct 03 22:33:02 2011 +0000

description:
avoid printing an empty line in the sb800 case

diffstat:

 sys/dev/pci/piixpm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 2baeade99da6 -r 96bebd789aac sys/dev/pci/piixpm.c
--- a/sys/dev/pci/piixpm.c      Mon Oct 03 22:28:56 2011 +0000
+++ b/sys/dev/pci/piixpm.c      Mon Oct 03 22:33:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: piixpm.c,v 1.36 2011/10/02 23:25:20 jmcneill Exp $ */
+/* $NetBSD: piixpm.c,v 1.37 2011/10/03 22:33:02 jmcneill Exp $ */
 /*     $OpenBSD: piixpm.c,v 1.20 2006/02/27 08:25:02 grange Exp $      */
 
 /*
@@ -22,7 +22,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.36 2011/10/02 23:25:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.37 2011/10/03 22:33:02 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -253,9 +253,9 @@
        if (sc->sc_poll)
                aprint_normal("polling");
 
-attach_i2c:
        aprint_normal("\n");
 
+attach_i2c:
        /* Attach I2C bus */
        rw_init(&sc->sc_i2c_rwlock);
        sc->sc_i2c_tag.ic_cookie = sc;



Home | Main Index | Thread Index | Old Index