undo showing major/minor (hmm that's a very bad idea...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11402 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3005,11 +3005,13 @@ 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);
|
||||||
|
|
||||||
|
#ifndef __BEOS__
|
||||||
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
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
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