[PATCH] users: new applet

Matthias Andree mandree at FreeBSD.org
Wed Jul 27 09:29:29 UTC 2011


Am 27.07.2011 10:29, schrieb Tito:
> On Wednesday 27 July 2011 00:33:37 gotrunks at gmail.com wrote:
>> Hi,
>>
>> patch attached.
>>
>> Regards,
>>
> 
> Hi,
> printf(ut->ut_user);  maybe adding a format string here would be a good thing.
> BTW.: this code looks very similar to what the who applet does, couldn't
> they be merged?

Re printf, adding a format string ("%s") is absolutely necessary.
Else use fputs(ut->ut_user, stdout);



More information about the busybox mailing list