summaryrefslogtreecommitdiff
path: root/sysutils/torsmo/files/patch-torsmo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/torsmo/files/patch-torsmo.c')
-rw-r--r--sysutils/torsmo/files/patch-torsmo.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/torsmo/files/patch-torsmo.c b/sysutils/torsmo/files/patch-torsmo.c
new file mode 100644
index 000000000000..c32c6aa662a3
--- /dev/null
+++ b/sysutils/torsmo/files/patch-torsmo.c
@@ -0,0 +1,11 @@
+--- torsmo.c.orig Thu Aug 5 19:39:06 2004
++++ torsmo.c Thu Aug 5 19:39:20 2004
+@@ -998,7 +998,7 @@
+ }
+ OBJ(acpitemp) {
+ /* does anyone have decimals in acpi temperature? */
+- snprintf(p, n, "%d", (int) get_acpi_temperature(obj->data.i));
++ snprintf(p, n, "%0.1f", (int) get_acpi_temperature(obj->data.i));
+ }
+ OBJ(acpifan) {
+ snprintf(p, n, "%s", get_acpi_fan());