Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Fix small negligence mistake.
details: https://anonhg.NetBSD.org/src/rev/bdd52f9020ae
branches: trunk
changeset: 762066:bdd52f9020ae
user: jruoho <jruoho%NetBSD.org@localhost>
date: Mon Feb 14 18:51:44 2011 +0000
description:
Fix small negligence mistake.
diffstat:
sys/dev/acpi/acpi_pmtr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fa205d09cbdd -r bdd52f9020ae sys/dev/acpi/acpi_pmtr.c
--- a/sys/dev/acpi/acpi_pmtr.c Mon Feb 14 18:49:31 2011 +0000
+++ b/sys/dev/acpi/acpi_pmtr.c Mon Feb 14 18:51:44 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_pmtr.c,v 1.1 2011/01/05 20:08:12 jruoho Exp $ */
+/* $NetBSD: acpi_pmtr.c,v 1.2 2011/02/14 18:51:44 jruoho Exp $ */
/*-
* Copyright (c) 2011 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_pmtr.c,v 1.1 2011/01/05 20:08:12 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_pmtr.c,v 1.2 2011/02/14 18:51:44 jruoho Exp $");
#include <sys/param.h>
#include <sys/module.h>
@@ -289,7 +289,7 @@
ad = acpi_get_node(hdl);
- if (ACPI_FAILURE(rv))
+ if (ad == NULL)
continue;
aprint_debug("%s ", ad->ad_name);
Home |
Main Index |
Thread Index |
Old Index