From 59df6f73988b103f0dcfffeaec10642527336c5e Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 16 May 2001 14:21:09 +0000 Subject: Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c by Larry Doolittle. --- coreutils/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/date.c') diff --git a/coreutils/date.c b/coreutils/date.c index 22a1304d5..93b078b45 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -241,7 +241,7 @@ int date_main(int argc, char **argv) /* Print OUTPUT (after ALL that!) */ t_buff = xmalloc(201); strftime(t_buff, 200, date_fmt, &tm_time); - printf("%s\n", t_buff); + puts(t_buff); return EXIT_SUCCESS; } -- cgit v1.2.3