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:
parent
cd48a35074
commit
25aebe4cd8
1 changed files with 1 additions and 1 deletions
|
@ -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 = "T"; }
|
||||||
if ( 1023 < size ) { size /= 1024UL; sizeunit = "P"; }
|
if ( 1023 < size ) { size /= 1024UL; sizeunit = "P"; }
|
||||||
perms[10] = 0;
|
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);
|
(uintmax_t) size, sizeunit, colorpre, name, colorpost);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue