(internal_setent): Rewrite to avoid warning.