summaryrefslogtreecommitdiff
path: root/sys/dev/pci/twe_pci.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-11-15 11:08:48 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-11-15 11:08:48 +0000
commite7c445ec65631cf8688243305dfcc7df66a9c453 (patch)
tree0348bb57deb602a934e253b6a30a58c9f628468a /sys/dev/pci/twe_pci.c
parentc6299271b339d7a3c068c88a8fb89249ce61d6d2 (diff)
missing return upon intr_establish failure
Diffstat (limited to 'sys/dev/pci/twe_pci.c')
-rw-r--r--sys/dev/pci/twe_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/twe_pci.c b/sys/dev/pci/twe_pci.c
index 16ef3057abc..b5ee20a1ce1 100644
--- a/sys/dev/pci/twe_pci.c
+++ b/sys/dev/pci/twe_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: twe_pci.c,v 1.8 2005/08/09 04:10:13 mickey Exp $ */
+/* $OpenBSD: twe_pci.c,v 1.9 2005/11/15 11:08:47 mickey Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -101,6 +101,7 @@ twe_pci_attach(parent, self, aux)
printf(" at %s", intrstr);
printf("\n");
bus_space_unmap(sc->iot, sc->ioh, size);
+ return;
}
printf(": %s\n%s", intrstr, sc->sc_dev.dv_xname);