summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2000-09-10 04:42:20 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2000-09-10 04:42:20 +0000
commit729216cb11f263d16bc7322788842234642ab6ab (patch)
tree74947025bd9a549884067a256c470f56a26ab831 /coreutils
parent18310f1ce3fd2e2fd4ddce6da8ee6867f4196157 (diff)
downloadbusybox-w32-729216cb11f263d16bc7322788842234642ab6ab.tar.gz
busybox-w32-729216cb11f263d16bc7322788842234642ab6ab.tar.bz2
busybox-w32-729216cb11f263d16bc7322788842234642ab6ab.zip
Remove some debugging code
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/dd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index a7c8a2266..84f3211fb 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -57,7 +57,6 @@ extern int dd_main(int argc, char **argv)
57 uintmax_t totalSize; 57 uintmax_t totalSize;
58 uintmax_t readSize; 58 uintmax_t readSize;
59 unsigned char buf[BUFSIZ]; 59 unsigned char buf[BUFSIZ];
60 off_t jumped;
61 60
62 argc--; 61 argc--;
63 argv++; 62 argv++;
@@ -131,7 +130,7 @@ extern int dd_main(int argc, char **argv)
131 } 130 }
132 131
133 lseek(inFd, (off_t) (skipBlocks * blockSize), SEEK_SET); 132 lseek(inFd, (off_t) (skipBlocks * blockSize), SEEK_SET);
134 jumped = lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET); 133 lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
135 totalSize=count*blockSize; 134 totalSize=count*blockSize;
136 while ((readSize = totalSize - inTotal) > 0) { 135 while ((readSize = totalSize - inTotal) > 0) {
137 if (readSize > BUFSIZ) 136 if (readSize > BUFSIZ)