Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-01-18 05:57:08 +0300
committerMatt Kraai <kraai@debian.org>2001-01-18 05:57:08 +0300
commit12f417edbd21b322a8eaa8feb0ab238f13fa83c6 (patch)
tree06f9de2e4c7d33d29a448fb1c42ed1beafe18e6e /rdate.c
parentc9acf8c766a9a2cc00449db5dea506d7663ad26b (diff)
Eliminate calls of the form "fprintf(stdout,". Thanks for the idea to
Vladimir N. Oleynik.
Diffstat (limited to 'rdate.c')
-rw-r--r--rdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdate.c b/rdate.c
index 03f7f2de3..bb5392746 100644
--- a/rdate.c
+++ b/rdate.c
@@ -126,7 +126,7 @@ int rdate_main(int argc, char **argv)
perror_msg_and_die("Could not set time of day");
}
if (printdate) {
- fprintf(stdout, "%s", ctime(&time));
+ printf("%s", ctime(&time));
}
return EXIT_SUCCESS;