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:
@@ -3000,11 +3000,11 @@ print_long_format (const struct fileinfo *f)
|
|||||||
if (print_author)
|
if (print_author)
|
||||||
p += format_user (p, f->stat.st_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 ",
|
sprintf (p, "%3lu, %3lu ",
|
||||||
(unsigned long) major (f->stat.st_rdev),
|
(unsigned long) major (f->stat.st_rdev),
|
||||||
(unsigned long) minor (f->stat.st_rdev));
|
(unsigned long) minor (f->stat.st_rdev));
|
||||||
else*/
|
else
|
||||||
{
|
{
|
||||||
char hbuf[LONGEST_HUMAN_READABLE + 1];
|
char hbuf[LONGEST_HUMAN_READABLE + 1];
|
||||||
uintmax_t size = f->stat.st_size;
|
uintmax_t size = f->stat.st_size;
|
||||||
|
|||||||
Reference in New Issue
Block a user