aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-24 14:53:18 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-24 14:53:18 +0000
commit23ea869996347496687d5c7669bc555aca3fb1a5 (patch)
treedd5af380364efe67c7bd302d6c1c6d70f303f959 /coreutils/ls.c
parentf84ffb695adc5637e124f2f7398c1702624517e0 (diff)
downloadbusybox-w32-23ea869996347496687d5c7669bc555aca3fb1a5.tar.gz
busybox-w32-23ea869996347496687d5c7669bc555aca3fb1a5.tar.bz2
busybox-w32-23ea869996347496687d5c7669bc555aca3fb1a5.zip
header_verbose_list: stop truncating file size in listing
git-svn-id: svn://busybox.net/trunk/busybox@16651 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 909f4d54e..79e47ee6b 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -574,7 +574,7 @@ static int list_single(struct dnode *dn)
574 column += printf("%7ld ", (long) dn->dstat.st_ino); 574 column += printf("%7ld ", (long) dn->dstat.st_ino);
575 break; 575 break;
576 case LIST_BLOCKS: 576 case LIST_BLOCKS:
577 column += printf("%4"OFF_FMT" ", (off_t) dn->dstat.st_blocks >> 1); 577 column += printf("%4"OFF_FMT"d ", (off_t) dn->dstat.st_blocks >> 1);
578 break; 578 break;
579 case LIST_MODEBITS: 579 case LIST_MODEBITS:
580 column += printf("%-10s ", (char *) bb_mode_string(dn->dstat.st_mode)); 580 column += printf("%-10s ", (char *) bb_mode_string(dn->dstat.st_mode));
@@ -604,7 +604,7 @@ static int list_single(struct dnode *dn)
604 column += printf("%9s ", 604 column += printf("%9s ",
605 make_human_readable_str(dn->dstat.st_size, 1, 0)); 605 make_human_readable_str(dn->dstat.st_size, 1, 0));
606 } else { 606 } else {
607 column += printf("%9"OFF_FMT" ", (off_t) dn->dstat.st_size); 607 column += printf("%9"OFF_FMT"d ", (off_t) dn->dstat.st_size);
608 } 608 }
609 } 609 }
610 break; 610 break;