summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2006-09-16 12:20:11 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2006-09-16 12:20:11 +0000
commitedb32ffb1fed53a097b007fef28ca14cf63e7dd7 (patch)
tree7cffbcae4a2dd43a1411ae1148bebcc0782c18b3 /sys/dev
parent103dd8f1a8595bbcfda2f0418ca4387182c6d5de (diff)
Don't panic if firmware files are not in place. Ja ja ja ja claudio@.
ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/pgt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c
index 4700c039e61..097844b3f07 100644
--- a/sys/dev/ic/pgt.c
+++ b/sys/dev/ic/pgt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pgt.c,v 1.10 2006/09/16 10:36:12 mglocker Exp $ */
+/* $OpenBSD: pgt.c,v 1.11 2006/09/16 12:20:10 mglocker Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -626,7 +626,7 @@ pgt_attach(struct pgt_softc *sc)
error = pgt_reset(sc);
if (error)
- goto failed;
+ return (error);
tsleep(&sc->sc_flags, 0, "pftres", hz);
if (sc->sc_flags & SC_UNINITIALIZED) {