From 9c13754d44ade045fff6d19b9545c11333025418 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Thu, 17 Sep 2009 17:53:35 +0000 Subject: [PATCH] Fix a message format in error path. --- sys/dev/sbus/lebuffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/sbus/lebuffer.c b/sys/dev/sbus/lebuffer.c index c8d0cecc7630..46c565614c85 100644 --- a/sys/dev/sbus/lebuffer.c +++ b/sys/dev/sbus/lebuffer.c @@ -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 -__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 #include @@ -88,7 +88,7 @@ lebufattach(device_t parent, device_t self, void *aux) 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; }