Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix typo. Use format string.



details:   https://anonhg.NetBSD.org/src/rev/d84e9140a20c
branches:  trunk
changeset: 333254:d84e9140a20c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Oct 25 18:00:25 2014 +0000

description:
Fix typo. Use format string.

diffstat:

 sys/dev/ic/dwc_gmac.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r d4989975b329 -r d84e9140a20c sys/dev/ic/dwc_gmac.c
--- a/sys/dev/ic/dwc_gmac.c     Sat Oct 25 16:47:23 2014 +0000
+++ b/sys/dev/ic/dwc_gmac.c     Sat Oct 25 18:00:25 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.20 2014/10/21 00:01:01 jmcneill Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.21 2014/10/25 18:00:25 joerg Exp $ */
 
 /*-
  * Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.20 2014/10/21 00:01:01 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.21 2014/10/25 18:00:25 joerg Exp $");
 
 /* #define     DWC_GMAC_DEBUG  1 */
 
@@ -173,7 +173,7 @@
        }
 
        /*
-        * Init chip and do intial setup
+        * Init chip and do initial setup
         */
        if (dwc_gmac_reset(sc) != 0)
                return; /* not much to cleanup, haven't attached yet */
@@ -1342,6 +1342,6 @@
        dwc_gmac_dump_tx_desc(sc);
        dwc_gmac_dump_rx_desc(sc);
 
-       panic(msg);
+       panic("%s", msg);
 }
 #endif



Home | Main Index | Thread Index | Old Index