Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c

by Larry Doolittle.
This commit is contained in:
Matt Kraai
2001-05-16 14:21:09 +00:00
parent bc604a2f41
commit 59df6f7398
22 changed files with 36 additions and 36 deletions

View File

@@ -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;
}