summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-22 08:20:05 +0000
committerJim Meyering <jim@meyering.net>2003-08-22 08:20:05 +0000
commitc63799d99daaa4b03673719c106e470a1087a4c6 (patch)
tree3566430f033785ddb191ee4cc6b51f84cd6643fb /src
parent4cebecbf06c689d6ff7742860d3ad28340467a6a (diff)
downloadcoreutils-c63799d99daaa4b03673719c106e470a1087a4c6.tar.xz
(do_stat): For link count at end of line, use %h format,
instead of %-5h. The latter would make stat emit trailing spaces.
Diffstat (limited to 'src')
-rw-r--r--src/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c
index ace2b6936..c8e5dde4e 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -674,7 +674,7 @@ do_stat (char const *filename, int follow_links, int terse,
format =
" File: %N\n"
" Size: %-10s\tBlocks: %-10b IO Block: %-6o %F\n"
- "Device: %Dh/%dd\tInode: %-10i Links: %-5h\n"
+ "Device: %Dh/%dd\tInode: %-10i Links: %h\n"
"Access: (%04a/%10.10A) Uid: (%5u/%8U) Gid: (%5g/%8G)\n"
"Access: %x\n" "Modify: %y\n" "Change: %z\n";
}