commit | 12f417edbd21b322a8eaa8feb0ab238f13fa83c6 | [log] [tgz] |
---|---|---|
author | Matt Kraai <kraai@debian.org> | Thu Jan 18 02:57:08 2001 +0000 |
committer | Matt Kraai <kraai@debian.org> | Thu Jan 18 02:57:08 2001 +0000 |
tree | 06f9de2e4c7d33d29a448fb1c42ed1beafe18e6e | |
parent | c9acf8c766a9a2cc00449db5dea506d7663ad26b [diff] [blame] |
Eliminate calls of the form "fprintf(stdout,". Thanks for the idea to Vladimir N. Oleynik.
diff --git a/util-linux/rdate.c b/util-linux/rdate.c index 03f7f2d..bb53927 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c
@@ -126,7 +126,7 @@ perror_msg_and_die("Could not set time of day"); } if (printdate) { - fprintf(stdout, "%s", ctime(&time)); + printf("%s", ctime(&time)); } return EXIT_SUCCESS;