diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2009-07-21 20:26:53 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2009-07-21 20:26:53 +0200 |
commit | 230f3167b70b5d73b3d9c0c650c9a654c06ccb51 (patch) | |
tree | ffb0bd3f9abc4c5c9bd88c566ae5a08078662f17 /src/get_wireless_info.c | |
parent | 34ba9fa9083c655e5ba06cecd46da157eb07d980 (diff) |
Add modelines and retab! all files
Diffstat (limited to 'src/get_wireless_info.c')
-rw-r--r-- | src/get_wireless_info.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/get_wireless_info.c b/src/get_wireless_info.c index fd0c60b..4d8d0b2 100644 --- a/src/get_wireless_info.c +++ b/src/get_wireless_info.c @@ -1,3 +1,4 @@ +// vim:ts=8:expandtab #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -19,7 +20,7 @@ const char *get_wireless_info() { memset(buf, 0, sizeof(buf)); memset(part, 0, sizeof(part)); - slurp("/proc/net/wireless", buf, sizeof(buf)); + slurp("/proc/net/wireless", buf, sizeof(buf)); interfaces = skip_character(buf, '\n', 1) + 1; while ((interfaces = skip_character(interfaces, '\n', 1)+1) < buf+strlen(buf)) { |