From 753f2faa0b38af2d69d91a4a52a71b15a1d72306 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 28 Jun 2018 16:38:32 -0700 Subject: stat: `stat -f` uses %T rather than %t. (At least for coreutils 8.28.) --- toys/other/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3