aboutsummaryrefslogtreecommitdiff
path: root/toys/other/stat.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-11-02 20:07:02 -0500
committerRob Landley <rob@landley.net>2018-11-02 20:07:02 -0500
commit6a73e13d75d31da2c3f1145d8487725f0073a4b8 (patch)
tree17b5bb8b6b5e94b1c93818954cf322a39941a4be /toys/other/stat.c
parent49e1d8733ebcaf130623c68a2393a3c43702a524 (diff)
downloadtoybox-6a73e13d75d31da2c3f1145d8487725f0073a4b8.tar.gz
Convert more option vars to the new (single letter) coding style.
Diffstat (limited to 'toys/other/stat.c')
-rw-r--r--toys/other/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/other/stat.c b/toys/other/stat.c
index a1233650..f571857a 100644
--- a/toys/other/stat.c
+++ b/toys/other/stat.c
@@ -40,7 +40,7 @@ config STAT
#include "toys.h"
GLOBALS(
- char *fmt;
+ char *c;
union {
struct stat st;
@@ -182,7 +182,7 @@ void stat_main(void)
"Access: (0%a/%A)\tUid: (%5u/%8U)\tGid: (%5g/%8G)\n"
"Access: %x\nModify: %y\nChange: %z";
- if (toys.optflags & FLAG_c) format = TT.fmt;
+ if (toys.optflags & FLAG_c) format = TT.c;
for (i = 0; toys.optargs[i]; i++) {
int L = toys.optflags & FLAG_L;