fix return value checking of creat
1 file changed