summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-23 22:49:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-23 22:49:59 +0000
commit60499bdc1db2950b4f736d2a75dc986ac4b7e944 (patch)
treecb3764e2eaf7ffee84e2522b5202936963fc7638 /sys/dev/pci
parent54343ec8b8822ce5745f22e76920568fa00499a0 (diff)
must return result of config_activate_children
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ppb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ppb.c b/sys/dev/pci/ppb.c
index 88bd6597309..7e294630e9c 100644
--- a/sys/dev/pci/ppb.c
+++ b/sys/dev/pci/ppb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppb.c,v 1.37 2009/11/23 16:53:55 deraadt Exp $ */
+/* $OpenBSD: ppb.c,v 1.38 2009/11/23 22:49:58 deraadt Exp $ */
/* $NetBSD: ppb.c,v 1.16 1997/06/06 23:48:05 thorpej Exp $ */
/*
@@ -319,12 +319,12 @@ ppbactivate(struct device *self, int act)
switch (act) {
case DVACT_SUSPEND:
- config_activate_children(self, act);
+ rv = config_activate_children(self, act);
/* XXX should power down the ppb */
break;
case DVACT_RESUME:
/* XXX should power up the ppb */
- config_activate_children(self, act);
+ rv = config_activate_children(self, act);
break;
}
return (rv);