mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:27:35 +00:00
ls: Fix alignment of device files in long mode (ls -l)
This commit is contained in:
parent
8a3fabffb3
commit
7b0f3b19df
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ bool print_filesystem_object(const String& path, const String& name, const struc
|
|||
}
|
||||
|
||||
if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) {
|
||||
printf(" %4u,%4u ", major(st.st_rdev), minor(st.st_rdev));
|
||||
printf(" %4u,%4u ", major(st.st_rdev), minor(st.st_rdev));
|
||||
} else {
|
||||
if (flag_human_readable) {
|
||||
ASSERT(st.st_size > 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue