Module Name:    src
Committed By:   tsutsui
Date:           Sat Feb 12 04:52:28 UTC 2011

Modified Files:
        src/sys/arch/hp300/hp300: bus_space.c

Log Message:
Umm, fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hp300/hp300/bus_space.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp300/hp300/bus_space.c
diff -u src/sys/arch/hp300/hp300/bus_space.c:1.18 src/sys/arch/hp300/hp300/bus_space.c:1.19
--- src/sys/arch/hp300/hp300/bus_space.c:1.18	Sat Feb 12 03:43:50 2011
+++ src/sys/arch/hp300/hp300/bus_space.c	Sat Feb 12 04:52:28 2011
@@ -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 */

Reply via email to