From e76c3b08e105147e3cef7e8d38d65da2fac6b2e1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 5 Apr 2001 03:14:39 +0000 Subject: 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 --- dd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dd.c') diff --git a/dd.c b/dd.c index 3f58929ba..297d0ab51 100644 --- a/dd.c +++ b/dd.c @@ -151,8 +151,8 @@ int dd_main(int argc, char **argv) out_part++; } - fprintf(statusfp, "%d+%d records in\n", in_full, in_part); - fprintf(statusfp, "%d+%d records out\n", out_full, out_part); + fprintf(statusfp, "%ld+%ld records in\n", (long)in_full, (long)in_part); + fprintf(statusfp, "%ld+%ld records out\n", (long)out_full, (long)out_part); return EXIT_SUCCESS; } -- cgit v1.2.3