Resubmit since errno should be stored after ffi_call.