Fix panic message when we can't create thread for one wire temperature
reading.
This commit is contained in:
parent
8953e80f5e
commit
9cd5259d97
@ -232,7 +232,7 @@ ow_temp_attach(device_t dev)
|
||||
if (kproc_create(ow_temp_event_thread, sc, &sc->event_thread, 0, 0,
|
||||
"%s event thread", device_get_nameunit(dev))) {
|
||||
device_printf(dev, "unable to create event thread.\n");
|
||||
panic("cbb_create_event_thread");
|
||||
panic("ow_temp_attach, can't create thread");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user