Module Name: src
Committed By: soren
Date: Mon Jul 22 14:52:02 UTC 2013
Modified Files:
src/sys/dev/pci: puc.c
Log Message:
Oops.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/puc.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/pci/puc.c
diff -u src/sys/dev/pci/puc.c:1.34 src/sys/dev/pci/puc.c:1.35
--- src/sys/dev/pci/puc.c:1.34 Mon Jul 22 14:40:03 2013
+++ src/sys/dev/pci/puc.c Mon Jul 22 14:52:02 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: puc.c,v 1.34 2013/07/22 14:40:03 martin Exp $ */
+/* $NetBSD: puc.c,v 1.35 2013/07/22 14:52:02 soren Exp $ */
/*
* Copyright (c) 1996, 1998, 1999
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puc.c,v 1.34 2013/07/22 14:40:03 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puc.c,v 1.35 2013/07/22 14:52:02 soren Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -248,7 +248,7 @@ puc_attach(device_t parent, device_t sel
bus_space_write_1(sc->sc_bar_mappings[1].t,
sc->sc_bar_mappings[1].h, SB16C105X_OPT_IMRREG0, 0xff);
} else {
- if (!pmf_device_register(self, NULL, NULL);
+ if (!pmf_device_register(self, NULL, NULL))
aprint_error_dev(self,
"couldn't establish power handler\n");
}