From 9cd5259d97f5af7ea88c0d50b47bec4aeb5287d9 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 20 Dec 2018 05:46:56 +0000 Subject: [PATCH] Fix panic message when we can't create thread for one wire temperature reading. --- sys/dev/ow/ow_temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ow/ow_temp.c b/sys/dev/ow/ow_temp.c index a91ecf87a62f..ad6957f412e3 100644 --- a/sys/dev/ow/ow_temp.c +++ b/sys/dev/ow/ow_temp.c @@ -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;