diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-24 14:53:18 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-24 14:53:18 +0000 |
| commit | cf30cc82a343802b601f01ae153916887f11eb7b (patch) | |
| tree | dd5af380364efe67c7bd302d6c1c6d70f303f959 /coreutils | |
| parent | 376ce1e775a97a01f1c454497fbe34d326043328 (diff) | |
| download | busybox-w32-cf30cc82a343802b601f01ae153916887f11eb7b.tar.gz busybox-w32-cf30cc82a343802b601f01ae153916887f11eb7b.tar.bz2 busybox-w32-cf30cc82a343802b601f01ae153916887f11eb7b.zip | |
header_verbose_list: stop truncating file size in listing
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/dd.c | 4 | ||||
| -rw-r--r-- | coreutils/ls.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index c0df0b75c..96ea32f06 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
| @@ -29,8 +29,8 @@ static off_t out_full, out_part, in_full, in_part; | |||
| 29 | 29 | ||
| 30 | static void dd_output_status(int ATTRIBUTE_UNUSED cur_signal) | 30 | static void dd_output_status(int ATTRIBUTE_UNUSED cur_signal) |
| 31 | { | 31 | { |
| 32 | fprintf(stderr, "%"OFF_FMT"+%"OFF_FMT" records in\n" | 32 | fprintf(stderr, "%"OFF_FMT"d+%"OFF_FMT"d records in\n" |
| 33 | "%"OFF_FMT"+%"OFF_FMT" records out\n", | 33 | "%"OFF_FMT"d+%"OFF_FMT"d records out\n", |
| 34 | in_full, in_part, | 34 | in_full, in_part, |
| 35 | out_full, out_part); | 35 | out_full, out_part); |
| 36 | } | 36 | } |
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; |
