summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-09-17 17:06:06 +0200
committerAaron Marcher (drkhsh) <info@nulltime.net>2016-09-17 17:06:06 +0200
commitd73118eaa47a9c4ea9ac9860b3d8b6e4c7c388dc (patch)
tree1e458134503747e3aa390431397f4b9f9f455ed4 /slstatus.c
parent2e012d533e49c55c79f808fa213e91d15fb64568 (diff)
shorter names
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slstatus.c b/slstatus.c
index 379be53..babcb89 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -33,7 +33,7 @@
struct arg {
char *(*func)();
- const char *format;
+ const char *fmt;
const char *args;
};
@@ -647,7 +647,7 @@ main(int argc, char *argv[])
} else {
res = argument.func(argument.args);
}
- element = smprintf(argument.format, res);
+ element = smprintf(argument.fmt, res);
if (element == NULL) {
element = smprintf(UNKNOWN_STR);
warnx("Failed to format output");