From 84db964925680c912c601f616d4ab07f7bc19c3c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 1 Jan 2010 16:56:03 +0100 Subject: df: use fputs in place of printf in a few more places * src/df.c (print_header): Use fputs rather than printf in more places. Suggested by Eric Blake. --- src/df.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/df.c b/src/df.c index 0821fe126..b8628791e 100644 --- a/src/df.c +++ b/src/df.c @@ -161,13 +161,13 @@ print_header (void) your translation has the same length as the original. Also, each column name translation should end at the same column as the corresponding original. */ - printf (_(" Inodes IUsed IFree IUse%%")); + fputs (_(" Inodes IUsed IFree IUse%"), stdout); else if (human_output_opts & human_autoscale) { if (human_output_opts & human_base_1024) - printf (_(" Size Used Avail Use%%")); + fputs (_(" Size Used Avail Use%"), stdout); else - printf (_(" Size Used Avail Use%%")); + fputs (_(" Size Used Avail Use%"), stdout); } else if (posix_format) printf (_(" %s-blocks Used Available Capacity"), @@ -205,7 +205,7 @@ print_header (void) human_readable (output_block_size, buf, opts, 1, 1)); } - printf (_(" Mounted on\n")); + fputs (_(" Mounted on\n"), stdout); } /* Is FSTYPE a type of file system that should be listed? */ -- cgit v1.2.3-54-g00ecf