Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Adjust error messages for the previous commit.
details: https://anonhg.NetBSD.org/src/rev/14bc1122f607
branches: trunk
changeset: 760308:14bc1122f607
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Jan 02 12:06:02 2011 +0000
description:
Adjust error messages for the previous commit.
diffstat:
sys/dev/acpi/acpi_power.c | 6 +++---
sys/dev/acpi/acpi_wakedev.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 8aaf25021a60 -r 14bc1122f607 sys/dev/acpi/acpi_power.c
--- a/sys/dev/acpi/acpi_power.c Sun Jan 02 11:34:13 2011 +0000
+++ b/sys/dev/acpi/acpi_power.c Sun Jan 02 12:06:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_power.c,v 1.24 2011/01/02 06:05:47 jruoho Exp $ */
+/* $NetBSD: acpi_power.c,v 1.25 2011/01/02 12:06:02 jruoho Exp $ */
/*-
* Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_power.c,v 1.24 2011/01/02 06:05:47 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_power.c,v 1.25 2011/01/02 12:06:02 jruoho Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -760,7 +760,7 @@
if (err != 0)
aprint_error_dev(ad->ad_root, "sysctl_createv"
- "(hw.acpi.power.%s) failed (err %d)\n", ad->ad_name, err);
+ "(hw.acpi.power.%s) failed (err %d)\n", str, err);
}
static int
diff -r 8aaf25021a60 -r 14bc1122f607 sys/dev/acpi/acpi_wakedev.c
--- a/sys/dev/acpi/acpi_wakedev.c Sun Jan 02 11:34:13 2011 +0000
+++ b/sys/dev/acpi/acpi_wakedev.c Sun Jan 02 12:06:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_wakedev.c,v 1.19 2011/01/02 06:05:47 jruoho Exp $ */
+/* $NetBSD: acpi_wakedev.c,v 1.20 2011/01/02 12:06:02 jruoho Exp $ */
/*-
* Copyright (c) 2009, 2010 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_wakedev.c,v 1.19 2011/01/02 06:05:47 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_wakedev.c,v 1.20 2011/01/02 12:06:02 jruoho Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -132,7 +132,7 @@
if (err != 0)
aprint_error_dev(ad->ad_root, "sysctl_createv"
- "(hw.acpi.wake.%s) failed (err %d)\n", ad->ad_name, err);
+ "(hw.acpi.wake.%s) failed (err %d)\n", str, err);
}
void
Home |
Main Index |
Thread Index |
Old Index