Author: imp
Date: Thu Dec 20 05:46:56 2018
New Revision: 342275
URL: https://svnweb.freebsd.org/changeset/base/342275

Log:
  Fix panic message when we can't create thread for one wire temperature
  reading.

Modified:
  head/sys/dev/ow/ow_temp.c

Modified: head/sys/dev/ow/ow_temp.c
==============================================================================
--- head/sys/dev/ow/ow_temp.c   Thu Dec 20 03:10:23 2018        (r342274)
+++ head/sys/dev/ow/ow_temp.c   Thu Dec 20 05:46:56 2018        (r342275)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to