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:
François Revol
2005-02-17 13:37:37 +00:00
parent ecaef637fa
commit c8cfedef94
+2
View File
@@ -3005,11 +3005,13 @@ print_long_format (const struct fileinfo *f)
if (print_author)
p += format_user (p, f->stat.st_author);
#ifndef __BEOS__
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
#endif
{
char hbuf[LONGEST_HUMAN_READABLE + 1];
uintmax_t size = f->stat.st_size;