[PATCH] PPC64: Remove degree symbol from rtas-proc.c

From: Paul Mackerras
Date: Fri Oct 08 2004 - 00:21:34 EST


Alan Cox pointed out that the degree symbol in the thermal sensor proc
files that we have on ppc64 cause problems for people using other
locales or UTF-8. This patch makes them disappear.

Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

diff -urN linux-2.5/arch/ppc64/kernel/rtas-proc.c ppc64-2.5-pseries/arch/ppc64/kernel/rtas-proc.c
--- linux-2.5/arch/ppc64/kernel/rtas-proc.c 2004-08-08 12:05:16.000000000 +1000
+++ ppc64-2.5-pseries/arch/ppc64/kernel/rtas-proc.c 2004-08-12 15:52:39.000000000 +1000
@@ -580,7 +580,7 @@
}
break;
case THERMAL_SENSOR:
- seq_printf(m, "Temp. (°C/°F):\t");
+ seq_printf(m, "Temp. (C/F):\t");
temperature = 1;
break;
case LID_STATUS:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/