Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/qbus Fix incomplete line (deleto?), found by cppchec...



details:   https://anonhg.NetBSD.org/src/rev/8c7c47539e2b
branches:  trunk
changeset: 751369:8c7c47539e2b
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Feb 02 14:58:46 2010 +0000

description:
Fix incomplete line (deleto?), found by cppcheck and reported by
Henning Petersen in PR 42719.

diffstat:

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

diffs (28 lines):

diff -r bd203f433c0b -r 8c7c47539e2b sys/dev/qbus/if_il.c
--- a/sys/dev/qbus/if_il.c      Tue Feb 02 14:57:45 2010 +0000
+++ b/sys/dev/qbus/if_il.c      Tue Feb 02 14:58:46 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_il.c,v 1.24 2009/05/12 14:43:33 cegger Exp $        */
+/*     $NetBSD: if_il.c,v 1.25 2010/02/02 14:58:46 wiz Exp $   */
 /*
  * Copyright (c) 1982, 1986 Regents of the University of California.
  * All rights reserved.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_il.c,v 1.24 2009/05/12 14:43:33 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_il.c,v 1.25 2010/02/02 14:58:46 wiz Exp $");
 
 #include "opt_inet.h"
 
@@ -444,7 +444,8 @@
                char bits[64];
 
                snprintb(bits, sizeof(bits), IL_BITS, IL_RCSR(IL_CSR));
-               aprint_error_dev(&sc->sc_dev, "stray xmit interrupt, csr=%s\n",
+               aprint_error_dev(&sc->sc_dev,
+                                "stray xmit interrupt, csr=%s\n", bits);
                return;
        }
 



Home | Main Index | Thread Index | Old Index