aboutsummaryrefslogtreecommitdiff
path: root/dd.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-05 03:14:39 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-05 03:14:39 +0000
commit01d0083a639d6b91298c62b9e67b803fe9b9a36d (patch)
tree87f705b9e4e4e48700ac61e9538c637ae2b395a7 /dd.c
parentea8519ec8a9e6807e16ca3a138d22201d35b273b (diff)
downloadbusybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.tar.gz
busybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.tar.bz2
busybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.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 git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'dd.c')
-rw-r--r--dd.c4
1 files changed, 2 insertions, 2 deletions
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)
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}