Fix panic message when we can't create thread for one wire temperature

reading.
This commit is contained in:
Warner Losh 2018-12-20 05:46:56 +00:00
parent 8953e80f5e
commit 9cd5259d97
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342275

View File

@ -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;