Skip to contentSkip to conversation

lm-sensors: fix ALARM alignment in dme1737

PATCH Applied Juerg Haefliger 2 participants 2 messages Jul 17, 2007 – Jul 18, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lm-sensors: fix ALARM alignment in dme1737

Fix the 'ALARM' text alignment in the dme1737 print temp routine.

Signed-off-by Juerg Haefliger <juergh at gmail.com>

---

Fix the 'ALARM' text alignment in the dme1737 print temp routine.

Signed-off-by Juerg Haefliger <juergh at gmail.com>

---

prog/sensors/chips.c +1 -1
Index: lm-sensors/prog/sensors/chips.c
===================================================================
@@ -6046,7 +6046,7 @@
     if (valid) {
       print_label(label, 10);
       print_temp_info(cur, max, min, MINMAX, 0, 0);
-      printf("%s  %s\n", fault ? "FAULT" : "", alarm ? "ALARM" : "");
+      printf("%s%s\n", fault ? "FAULT  " : "", alarm ? "ALARM" : "");
     }
   } else {
     printf("ERROR: Can't get temp%d data!\n", i);

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Applied
#1 lore raw
Quoted 3 lines · Juerg Haefliger

Fix the 'ALARM' text alignment in the dme1737 print temp routine.

Signed-off-by Juerg Haefliger <juergh at gmail.com>

Applied, thanks.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors