I'd just return EINVAL here, no need to assign it.