mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Fix panic message when we can't create thread for one wire temperature
reading.
This commit is contained in:
parent
8953e80f5e
commit
9cd5259d97
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue