1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Align ls long format.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-03-16 22:38:20 +01:00
parent cd48a35074
commit 25aebe4cd8

View file

@ -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;
}