Correct typo: return -1 for error, not 0
1 file changed