diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-05 03:14:39 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-05 03:14:39 +0000 |
commit | e76c3b08e105147e3cef7e8d38d65da2fac6b2e1 (patch) | |
tree | 87f705b9e4e4e48700ac61e9538c637ae2b395a7 /dd.c | |
parent | 3c0364f3911ec9f43e1c8c96ec2c8e30b1b52c47 (diff) | |
download | busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.tar.gz busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.tar.bz2 busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.zip |
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can
handle them sanely and all at once.
-Erik
Diffstat (limited to 'dd.c')
-rw-r--r-- | dd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,8 +151,8 @@ int dd_main(int argc, char **argv) | |||
151 | out_part++; | 151 | out_part++; |
152 | } | 152 | } |
153 | 153 | ||
154 | fprintf(statusfp, "%d+%d records in\n", in_full, in_part); | 154 | fprintf(statusfp, "%ld+%ld records in\n", (long)in_full, (long)in_part); |
155 | fprintf(statusfp, "%d+%d records out\n", out_full, out_part); | 155 | fprintf(statusfp, "%ld+%ld records out\n", (long)out_full, (long)out_part); |
156 | 156 | ||
157 | return EXIT_SUCCESS; | 157 | return EXIT_SUCCESS; |
158 | } | 158 | } |