Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus Fix a message format in error path.



details:   https://anonhg.NetBSD.org/src/rev/b9e4bbd445c7
branches:  trunk
changeset: 747494:b9e4bbd445c7
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Sep 17 17:53:35 2009 +0000

description:
Fix a message format in error path.

diffstat:

 sys/dev/sbus/lebuffer.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b9f0e78a07fd -r b9e4bbd445c7 sys/dev/sbus/lebuffer.c
--- a/sys/dev/sbus/lebuffer.c   Thu Sep 17 17:51:52 2009 +0000
+++ b/sys/dev/sbus/lebuffer.c   Thu Sep 17 17:53:35 2009 +0000
@@ -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;
        }
 



Home | Main Index | Thread Index | Old Index