From 230f3167b70b5d73b3d9c0c650c9a654c06ccb51 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 21 Jul 2009 20:26:53 +0200 Subject: Add modelines and retab! all files --- src/get_cpu_temperature.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/get_cpu_temperature.c') diff --git a/src/get_cpu_temperature.c b/src/get_cpu_temperature.c index 56a559c..d000d2d 100644 --- a/src/get_cpu_temperature.c +++ b/src/get_cpu_temperature.c @@ -1,3 +1,4 @@ +// vim:ts=8:expandtab #include #include #include @@ -13,8 +14,8 @@ const char *get_cpu_temperature_info() { static char buf[16]; long int temp; - slurp(thermal_zone, buf, sizeof(buf)); - temp = strtol(buf, NULL, 10); + slurp(thermal_zone, buf, sizeof(buf)); + temp = strtol(buf, NULL, 10); if (temp == LONG_MIN || temp == LONG_MAX || temp <= 0) (void)snprintf(buf, sizeof(buf), "T: ? C"); -- cgit v1.2.3