diff options
Diffstat (limited to 'sys/dev/ipmi.c')
-rw-r--r-- | sys/dev/ipmi.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c index be34cc4c098..36971d6d612 100644 --- a/sys/dev/ipmi.c +++ b/sys/dev/ipmi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmi.c,v 1.17 2005/10/21 16:44:24 deraadt Exp $ */ +/* $OpenBSD: ipmi.c,v 1.18 2005/10/24 18:36:21 marco Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave @@ -1561,8 +1561,11 @@ ipmi_create_thread(void *arg) struct ipmi_softc *sc = arg; if (kthread_create(ipmi_poll_thread, sc->sc_thread, NULL, - DEVNAME(sc)) != 0) - panic("ipmi thread"); + DEVNAME(sc)) != 0) { + printf("%s: unable to create polling thread, ipmi disabled\n", + DEVNAME(sc)); + return; + } } int |