[PATCH] libdwfl: Record dwfl_attach_state error and return it on failure.