diff options
-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 5e68087fc..7d980f1c4 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -532,11 +532,11 @@ int dd_main(int argc UNUSED_PARAM, char **argv) | |||
532 | if (write_and_stats(ibuf, n, obs, outfile)) | 532 | if (write_and_stats(ibuf, n, obs, outfile)) |
533 | goto out_status; | 533 | goto out_status; |
534 | } | 534 | } |
535 | } | ||
535 | 536 | ||
536 | if (G.flags & FLAG_FSYNC) { | 537 | if (G.flags & FLAG_FSYNC) { |
537 | if (fsync(ofd) < 0) | 538 | if (fsync(ofd) < 0) |
538 | goto die_outfile; | 539 | goto die_outfile; |
539 | } | ||
540 | } | 540 | } |
541 | 541 | ||
542 | if (ENABLE_FEATURE_DD_IBS_OBS && oc) { | 542 | if (ENABLE_FEATURE_DD_IBS_OBS && oc) { |