diff options
Diffstat (limited to 'Userland/ls.cpp')
-rw-r--r-- | Userland/ls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/ls.cpp b/Userland/ls.cpp index 2ce036152f..80ca15bd64 100644 --- a/Userland/ls.cpp +++ b/Userland/ls.cpp @@ -159,7 +159,7 @@ int do_dir(const char* path) printf(" %4u %4u", st.st_uid, st.st_gid); if (S_ISCHR(st.st_mode)) - printf(" %4u,%4u ", major(st.st_dev), minor(st.st_dev)); + printf(" %4u,%4u ", major(st.st_rdev), minor(st.st_rdev)); else printf(" %10u ", st.st_size); |