Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Oops.



details:   https://anonhg.NetBSD.org/src/rev/c598414e6bae
branches:  trunk
changeset: 788833:c598414e6bae
user:      soren <soren%NetBSD.org@localhost>
date:      Mon Jul 22 14:52:02 2013 +0000

description:
Oops.

diffstat:

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

diffs (27 lines):

diff -r b9627a05f1a5 -r c598414e6bae sys/dev/pci/puc.c
--- a/sys/dev/pci/puc.c Mon Jul 22 14:40:03 2013 +0000
+++ b/sys/dev/pci/puc.c Mon Jul 22 14:52:02 2013 +0000
@@ -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 @@
                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");
        }



Home | Main Index | Thread Index | Old Index