aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/pending/dd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/dd.c b/toys/pending/dd.c
index 80a7595f..5b624fd7 100644
--- a/toys/pending/dd.c
+++ b/toys/pending/dd.c
@@ -212,7 +212,7 @@ void dd_main()
xprintf("%s: Can't skip\n", TT.in.name);
return;
}
- off -= chunk;
+ off -= n;
}
}
}