summaryrefslogtreecommitdiff
path: root/src/get_battery_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/get_battery_info.c')
-rw-r--r--src/get_battery_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/get_battery_info.c b/src/get_battery_info.c
index b81eb8e..707afde 100644
--- a/src/get_battery_info.c
+++ b/src/get_battery_info.c
@@ -1,3 +1,4 @@
+// vim:ts=8:expandtab
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
@@ -19,7 +20,7 @@ const char *get_battery_info(struct battery *bat) {
present_rate = -1;
charging_status_t status = CS_DISCHARGING;
- slurp(bat->path, buf, sizeof(buf));
+ slurp(bat->path, buf, sizeof(buf));
for (walk = buf, last = buf; (walk-buf) < 1024; walk++) {
if (*walk == '\n') {