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
This commit is contained in:
parent
93d52f14af
commit
5bea2b386b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user