Module Name: src Committed By: tsutsui Date: Thu Sep 17 17:53:35 UTC 2009
Modified Files: src/sys/dev/sbus: lebuffer.c Log Message: Fix a message format in error path. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/dev/sbus/lebuffer.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/dev/sbus/lebuffer.c diff -u src/sys/dev/sbus/lebuffer.c:1.35 src/sys/dev/sbus/lebuffer.c:1.36 --- src/sys/dev/sbus/lebuffer.c:1.35 Thu Sep 17 17:51:52 2009 +++ src/sys/dev/sbus/lebuffer.c Thu Sep 17 17:53:35 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: lebuffer.c,v 1.35 2009/09/17 17:51:52 tsutsui Exp $ */ +/* $NetBSD: lebuffer.c,v 1.36 2009/09/17 17:53:35 tsutsui Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lebuffer.c,v 1.35 2009/09/17 17:51:52 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lebuffer.c,v 1.36 2009/09/17 17:53:35 tsutsui Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -88,7 +88,7 @@ if (sbus_bus_map(bt, sa->sa_slot, sa->sa_offset, sa->sa_size, BUS_SPACE_MAP_LINEAR, &bh) != 0) { - aprint_error_dev(self, "attach: cannot map registers\n"); + aprint_error(": cannot map registers\n"); return; }