diff options
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) { |