From 25aebe4cd805a0c5ef770451a7db977e317d1d47 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sat, 16 Mar 2013 22:38:20 +0100 Subject: [PATCH] Align ls long format. --- utils/ls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ls.cpp b/utils/ls.cpp index b6fb8c20..7341c196 100644 --- a/utils/ls.cpp +++ b/utils/ls.cpp @@ -153,7 +153,7 @@ int handleentry(const char* path, const char* name) if ( 1023 < size ) { size /= 1024UL; sizeunit = "T"; } if ( 1023 < size ) { size /= 1024UL; sizeunit = "P"; } perms[10] = 0; - printf("%s %ju root root %ju%s\t%s%s%s\n", perms, (uintmax_t) st.st_nlink, + printf("%s %3ju root root %4ju%s\t%s%s%s\n", perms, (uintmax_t) st.st_nlink, (uintmax_t) size, sizeunit, colorpre, name, colorpost); return 0; }