On 11/3/19 1:04 AM, enh via Toybox wrote:
> Fall back to converting the "name" to an integer and calling getpwuid().
> We need to update `username` for the later call to getgrouplist().
> 
> Also fix the separator printing logic to avoid a trailing ',' on `id 0`.
> 
> Switch to FLAG() and move some declarations down to where they can be
> initialized, both for clarity.

toys/posix/id.c:159:16: error: implicit declaration of function 'FLAGS'
[-Werror=implicit-function-declaration]
     } else if (FLAGS(Z)) error_exit("%s disabled", lsm_name());
                ^~~~~

I fixed it.

Rob
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to