> +     if (uid < 0 && gid < 0)
> +             usage();
> +

uid_t, gid_t are typically unsigned, so the check needs to be
== -1 otherwise it will never be true.

Reply via email to