diff options
-rw-r--r-- | coreutils/dd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 38dacc71d..5281d8118 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -296,6 +296,8 @@ int dd_main(int argc UNUSED_PARAM, char **argv) | |||
296 | goto die_infile; | 296 | goto die_infile; |
297 | n = ibs; | 297 | n = ibs; |
298 | bb_simple_perror_msg(infile); | 298 | bb_simple_perror_msg(infile); |
299 | /* GNU dd with conv=noerror skips over "bad blocks" */ | ||
300 | xlseek(ifd, ibs, SEEK_CUR); | ||
299 | } | 301 | } |
300 | if ((size_t)n == ibs) | 302 | if ((size_t)n == ibs) |
301 | G.in_full++; | 303 | G.in_full++; |