[PATCH] applets/usage_pod.c: Prefer fputs

Ron Yorston rmy at pobox.com
Thu Feb 18 21:21:08 UTC 2021

Gray Wolf wrote:
>When printf has just single %s argument, it can be replaced with fputs,
>which is faster. One could hope that compiler would optimize that, but
>there is no reason not to use the fputs directly.

I did consider using fputs but thought it looked out of place:  all the
other output statements use printf.

Just a stylistic preference.


More information about the busybox mailing list