aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-12-20 05:46:56 +0000
committerWarner Losh <imp@FreeBSD.org>2018-12-20 05:46:56 +0000
commit9cd5259d97f5af7ea88c0d50b47bec4aeb5287d9 (patch)
tree25d58a875906b6235a9b575c0e78c7dfc1de5065
parent8953e80f5e3ef278bee139d338fd183681a1d02f (diff)
downloadsrc-9cd5259d97f5af7ea88c0d50b47bec4aeb5287d9.tar.gz
src-9cd5259d97f5af7ea88c0d50b47bec4aeb5287d9.zip
Fix panic message when we can't create thread for one wire temperature
reading.
Notes
Notes: svn path=/head/; revision=342275
-rw-r--r--sys/dev/ow/ow_temp.c2
1 files changed, 1 insertions, 1 deletions
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;