Wrong error code check from read result.