fix incorrect void return type for syncfs function