Hi Suckless

I think there is a problem with the temperature module,
that is, on OpenBSD it only prints one digit,
which by the way doesn't even change (stuck at 5).

By making a small change, it now works properly.
(I also removed stdio.h which looks unnecessary)

22d21
<       #include <stdio.h>
48c47
<               return bprintf("%d", (temp.value - 273150000) / 1E6);
---
>               return bprintf("%d", (temp.value - 273150000) / 1000000);

Thank's for your work!

Reply via email to