]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(do_stat): For link count at end of line, use %h format,
authorJim Meyering <jim@meyering.net>
Fri, 22 Aug 2003 08:20:05 +0000 (08:20 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 22 Aug 2003 08:20:05 +0000 (08:20 +0000)
instead of %-5h.  The latter would make stat emit trailing spaces.

src/stat.c

index ace2b6936d597c060e916b17f97f4bccb5eab265..c8e5dde4e68731d96c3950c33dde2e84838920d4 100644 (file)
@@ -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";
            }