thermferm/devices.c

changeset 724
01e3936f62d4
parent 716
5c30c8ef83a8
child 729
f5d94730db18
--- a/thermferm/devices.c	Sat May 04 13:49:36 2024 +0200
+++ b/thermferm/devices.c	Sat May 04 15:18:02 2024 +0200
@@ -851,9 +851,10 @@
     int			found;
     time_t		now;
     bool		changed;
+    pid_t		pid = gettid();
 
     my_devices_state = 1;
-    syslog(LOG_NOTICE, "Thread my_devices_loop started");
+    syslog(LOG_NOTICE, "Thread my_devices_loop started, pid=%d", pid);
     dht11_next = time(NULL);
 
     /*

mercurial