summaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-03-27 20:59:14 +0000
committerMark Whitley <markw@lineo.com>2001-03-27 20:59:14 +0000
commit9a2144663a97acb9c071c6d6e496d99a24d80685 (patch)
treed5db25a1ba52810dd9c0edd440f4497257e53973 /ls.c
parentcc7b4f39fca193ba6b2fa60be4a4b6fd05238d08 (diff)
downloadbusybox-w32-9a2144663a97acb9c071c6d6e496d99a24d80685.tar.gz
busybox-w32-9a2144663a97acb9c071c6d6e496d99a24d80685.tar.bz2
busybox-w32-9a2144663a97acb9c071c6d6e496d99a24d80685.zip
Applied patch from David Douthitt to fix problem where ls reports half the
file size. Should close bug #1140.
Diffstat (limited to '')
-rw-r--r--ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ls.c b/ls.c
index 77de93a0c..201509210 100644
--- a/ls.c
+++ b/ls.c
@@ -652,9 +652,9 @@ static int list_single(struct dnode *dn)
652 (ls_disp_hr==TRUE)? 0: 1)); 652 (ls_disp_hr==TRUE)? 0: 1));
653#else 653#else
654#if _FILE_OFFSET_BITS == 64 654#if _FILE_OFFSET_BITS == 64
655 printf("%9lld ", dn->dstat.st_size>>1); 655 printf("%9lld ", dn->dstat.st_size);
656#else 656#else
657 printf("%9ld ", dn->dstat.st_size>>1); 657 printf("%9ld ", dn->dstat.st_size);
658#endif 658#endif
659#endif 659#endif
660 } 660 }