fix sync.c typo