Fix compile error, sync() always returns 0 anyway.
2 files changed