Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/hp300 Umm, fix typo.



details:   https://anonhg.NetBSD.org/src/rev/da9da70da2f1
branches:  trunk
changeset: 761953:da9da70da2f1
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Feb 12 04:52:28 2011 +0000

description:
Umm, fix typo.

diffstat:

 sys/arch/hp300/hp300/bus_space.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 4a551b4bbcf0 -r da9da70da2f1 sys/arch/hp300/hp300/bus_space.c
--- a/sys/arch/hp300/hp300/bus_space.c  Sat Feb 12 04:49:19 2011 +0000
+++ b/sys/arch/hp300/hp300/bus_space.c  Sat Feb 12 04:52:28 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space.c,v 1.18 2011/02/12 03:43:50 tsutsui Exp $   */
+/*     $NetBSD: bus_space.c,v 1.19 2011/02/12 04:52:28 tsutsui Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.18 2011/02/12 03:43:50 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.19 2011/02/12 04:52:28 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -66,7 +66,7 @@
        }
 
        if (t->bustype != HP300_BUS_SPACE_DIO)
-               panic("%s: bad space tag", __FUNC__);
+               panic("%s: bad space tag", __func__);
 
        /*
         * Allocate virtual address space from the extio extent map.
@@ -153,7 +153,7 @@
        if (extent_free(extio_ex, kva, size,
            EX_NOWAIT | (extio_ex_malloc_safe ? EX_MALLOCOK : 0)))
                printf("%s: kva 0x%lx size 0x%lx: "
-                   "can't free region\n", __func-_, (u_long)bsh, size);
+                   "can't free region\n", __func__, (u_long)bsh, size);
 }
 
 /* ARGSUSED */



Home | Main Index | Thread Index | Old Index