diff options
author | Ron Yorston <rmy@pobox.com> | 2017-05-29 14:20:10 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-05-29 14:34:28 +0100 |
commit | da4f331955bed8afda670afcd58d524a04a0faa9 (patch) | |
tree | f6a3879aefdd714240f8c022375f687b512d2238 /coreutils/dd.c | |
parent | 74163a535fd21f5fcca4c052d2e7c192d3e264fa (diff) | |
parent | 6683d1cbb44859f549f87f882545b84b9369585c (diff) | |
download | busybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.tar.gz busybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.tar.bz2 busybox-w32-da4f331955bed8afda670afcd58d524a04a0faa9.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r-- | coreutils/dd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 85152d8ce..2fccf9d8e 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -543,11 +543,11 @@ int dd_main(int argc UNUSED_PARAM, char **argv) | |||
543 | if (write_and_stats(ibuf, n, obs, outfile)) | 543 | if (write_and_stats(ibuf, n, obs, outfile)) |
544 | goto out_status; | 544 | goto out_status; |
545 | } | 545 | } |
546 | } | ||
546 | 547 | ||
547 | if (G.flags & FLAG_FSYNC) { | 548 | if (G.flags & FLAG_FSYNC) { |
548 | if (fsync(ofd) < 0) | 549 | if (fsync(ofd) < 0) |
549 | goto die_outfile; | 550 | goto die_outfile; |
550 | } | ||
551 | } | 551 | } |
552 | 552 | ||
553 | if (ENABLE_FEATURE_DD_IBS_OBS && oc) { | 553 | if (ENABLE_FEATURE_DD_IBS_OBS && oc) { |