aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-06-28 16:38:32 -0700
committerRob Landley <rob@landley.net>2018-06-28 21:49:34 -0500
commit753f2faa0b38af2d69d91a4a52a71b15a1d72306 (patch)
treefa0e0bd53e65122fd0950d19bb1baab356680d3b
parent8f32a56c8e43e2d80384ebbc08f646cb29c0db7b (diff)
downloadtoybox-753f2faa0b38af2d69d91a4a52a71b15a1d72306.tar.gz
stat: `stat -f` uses %T rather than %t.
(At least for coreutils 8.28.)
-rw-r--r--toys/other/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/stat.c b/toys/other/stat.c
index 35b15d9f..f68704dd 100644
--- a/toys/other/stat.c
+++ b/toys/other/stat.c
@@ -177,7 +177,7 @@ void stat_main(void)
format = flagf ? "%n %i %l %t %s %S %b %f %a %c %d" :
"%n %s %b %f %u %g %D %i %h %t %T %X %Y %Z %o";
} else format = flagf
- ? " File: \"%n\"\n ID: %i Namelen: %l Type: %t\n"
+ ? " File: \"%n\"\n ID: %i Namelen: %l Type: %T\n"
"Block Size: %s Fundamental block size: %S\n"
"Blocks: Total: %b\tFree: %f\tAvailable: %a\n"
"Inodes: Total: %c\tFree: %d"