1
0
Fork 0

shorter names

This commit is contained in:
Aaron Marcher 2016-09-17 17:06:06 +02:00 committed by Aaron Marcher (drkhsh)
parent 2e012d533e
commit d73118eaa4

View file

@ -33,7 +33,7 @@
struct arg { struct arg {
char *(*func)(); char *(*func)();
const char *format; const char *fmt;
const char *args; const char *args;
}; };
@ -647,7 +647,7 @@ main(int argc, char *argv[])
} else { } else {
res = argument.func(argument.args); res = argument.func(argument.args);
} }
element = smprintf(argument.format, res); element = smprintf(argument.fmt, res);
if (element == NULL) { if (element == NULL) {
element = smprintf(UNKNOWN_STR); element = smprintf(UNKNOWN_STR);
warnx("Failed to format output"); warnx("Failed to format output");