Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2018 05:46:56 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342275 - head/sys/dev/ow
Message-ID:  <201812200546.wBK5kugB074789@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812200546.wBK5kugB074789>