Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Flush the output stream instead of arbitrarily disabling buffering
[slstatus.git]
/
components
/
temperature.c
diff --git
a/components/temperature.c
b/components/temperature.c
index
4e27a9d
..
bbec80b
100644
(file)
--- a/
components/temperature.c
+++ b/
components/temperature.c
@@
-44,6
+44,6
@@
}
/* kelvin to celsius */
- return bprintf("%d", (temp.value - 273150000) / 1
000000
);
+ return bprintf("%d", (temp.value - 273150000) / 1
E6
);
}
#endif