diff options
author | Andreas Kling <awesomekling@gmail.com> | 2020-01-09 21:43:21 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-09 21:43:21 +0100 |
commit | 41d5f5c3b5f537e1f3c9aa1c3d6220952ba611c4 (patch) | |
tree | a53e7a8179c2fa29683b108847cf786af7f53c0b /Userland/ls.cpp | |
parent | f5d9f11e52a79a14b16a018d7782012e2cc710b1 (diff) | |
download | serenity-41d5f5c3b5f537e1f3c9aa1c3d6220952ba611c4.zip |
ls: Widen the user and group fields a little bit
I didn't like looking at /tmp/portal now that lookup:lookup owns one
of the sockets there :^)
Diffstat (limited to 'Userland/ls.cpp')
-rw-r--r-- | Userland/ls.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/ls.cpp b/Userland/ls.cpp index 312ea1a7dc..8adad40aea 100644 --- a/Userland/ls.cpp +++ b/Userland/ls.cpp @@ -199,14 +199,14 @@ bool print_filesystem_object(const String& path, const String& name, const struc passwd* pwd = getpwuid(st.st_uid); group* grp = getgrgid(st.st_gid); if (!flag_print_numeric && pwd) { - printf(" %5s", pwd->pw_name); + printf(" %7s", pwd->pw_name); } else { - printf(" %5u", st.st_uid); + printf(" %7u", st.st_uid); } if (!flag_print_numeric && grp) { - printf(" %5s", grp->gr_name); + printf(" %7s", grp->gr_name); } else { - printf(" %5u", st.st_gid); + printf(" %7u", st.st_gid); } if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { |