dd: Only sync once

This commit is contained in:
sin 2015-02-02 22:32:03 +00:00
parent 1c2006fd2c
commit 8fe02392ed
1 changed files with 1 additions and 1 deletions

2
dd.c
View File

@ -292,6 +292,6 @@ main(int argc, char *argv[])
print_stat(&config);
if (config.nosync == 0)
sync(); sync();
sync();
return config.saved_errno;
}