shuffle dpmi_init() so that the error path "goto err" not to crash