From 5bea2b386bdab6b38097ea5abfb92340f9aecad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 17 Feb 2005 10:15:46 +0000 Subject: [PATCH] we don't use major/minor, but that's not a reason to change the display. device sizes as reported by stat() are always 0 anyway. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11397 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/coreutils-5.0/src/ls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/bin/coreutils-5.0/src/ls.c b/src/apps/bin/coreutils-5.0/src/ls.c index cbd43a0190..fb97314d60 100644 --- a/src/apps/bin/coreutils-5.0/src/ls.c +++ b/src/apps/bin/coreutils-5.0/src/ls.c @@ -3000,11 +3000,11 @@ print_long_format (const struct fileinfo *f) if (print_author) p += format_user (p, f->stat.st_author); -/* if (S_ISCHR (f->stat.st_mode) || S_ISBLK (f->stat.st_mode)) + if (S_ISCHR (f->stat.st_mode) || S_ISBLK (f->stat.st_mode)) sprintf (p, "%3lu, %3lu ", (unsigned long) major (f->stat.st_rdev), (unsigned long) minor (f->stat.st_rdev)); - else*/ + else { char hbuf[LONGEST_HUMAN_READABLE + 1]; uintmax_t size = f->stat.st_size;