all repos — slstatus @ c3ce506b7fe4c9615c8bf1b6936dd235d6c04750

my build of slstatus (tools.suckless.org/slstatus/)

Fix typo in temperature
Aaron Marcher me@drkhsh.at
Sun, 29 Apr 2018 22:44:09 +0200
commit

c3ce506b7fe4c9615c8bf1b6936dd235d6c04750

parent

4113a39ee6a13e37797cff53626253c4bc094482

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M components/temperature.ccomponents/temperature.c

@@ -35,7 +35,7 @@ mib[4] = 0; /* temp0 */

size = sizeof(temp); - if (sysctl(mib, 5, &temp, &sz, NULL, 0) == -1) { + if (sysctl(mib, 5, &temp, &size, NULL, 0) == -1) { fprintf(stderr, "sysctl 'SENSOR_TEMP': %s\n", strerror(errno)); return NULL; }