From: Jim Meyering Date: Fri, 7 Mar 2003 23:24:53 +0000 (+0000) Subject: (print_it): Use putchar, not fputs, to output a single character. X-Git-Tag: v4.5.10~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1134e1eb6b5ea902bafff844d168f26831a79f4;p=thirdparty%2Fcoreutils.git (print_it): Use putchar, not fputs, to output a single character. --- diff --git a/src/stat.c b/src/stat.c index b19929fe97..455f1c7098 100644 --- a/src/stat.c +++ b/src/stat.c @@ -576,7 +576,7 @@ print_it (char const *masterformat, char const *filename, { case '\0': case '%': - fputs ("%", stdout); + putchar ('%'); break; default: print_func (dest, *p, filename, data);