Didier Wiroth <[EMAIL PROTECTED]> wrote: > NTPD is running and I noticed lots of these entries in /var/log/messages: > ntpd[24357]: sensor_probe sysctl: Cannot allocate memory
Fallout from the sensors conversion. Index: sensors.c =================================================================== RCS file: /cvs/src/usr.sbin/ntpd/sensors.c,v retrieving revision 1.27 diff -u -r1.27 sensors.c --- sensors.c 23 Dec 2006 17:49:53 -0000 1.27 +++ sensors.c 27 Dec 2006 22:02:41 -0000 @@ -81,7 +81,7 @@ } strlcpy(dxname, sensordev.xname, MAXDEVNAMLEN); - slen = sizeof(sensor); + slen = sizeof(*sensor); if (sysctl(mib, 5, sensor, &slen, NULL, 0) == -1) { if (errno != ENOENT) log_warn("sensor_probe sysctl"); -- Christian "naddy" Weisgerber [EMAIL PROTECTED]