Use non-zero error status here. This also fixes "integer from pointer" warning.