am eb42170e: Display file sizes larger than 2GB correctly

Merge commit 'eb42170e6c8b70f11dca9965785aa04a80290c72' into gingerbread-plus-aosp

* commit 'eb42170e6c8b70f11dca9965785aa04a80290c72':
  Display file sizes larger than 2GB correctly
This commit is contained in:
Kenny Root 2010-06-25 09:50:08 -07:00 committed by Android Git Automerger
commit 0b1ff6be08

View file

@ -297,8 +297,8 @@ static int listfile_long(const char *path, int flags)
date, name);
break;
case S_IFREG:
printf("%s %-8s %-8s %8d %s %s\n",
mode, user, group, (int) s.st_size, date, name);
printf("%s %-8s %-8s %8lld %s %s\n",
mode, user, group, s.st_size, date, name);
break;
case S_IFLNK: {
char linkto[256];