Explorar el Código

shorter names

Aaron Marcher hace 9 años
padre
commit
d73118eaa4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      slstatus.c

+ 2 - 2
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");