diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-18 02:57:08 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-18 02:57:08 +0000 |
commit | c6ef1fa2e2efac74e46c8fefcc0555d7a6dbe950 (patch) | |
tree | 06f9de2e4c7d33d29a448fb1c42ed1beafe18e6e /util-linux/rdate.c | |
parent | b98bab804589df1be486044538dcc05e315376d7 (diff) | |
download | busybox-w32-c6ef1fa2e2efac74e46c8fefcc0555d7a6dbe950.tar.gz busybox-w32-c6ef1fa2e2efac74e46c8fefcc0555d7a6dbe950.tar.bz2 busybox-w32-c6ef1fa2e2efac74e46c8fefcc0555d7a6dbe950.zip |
Eliminate calls of the form "fprintf(stdout,". Thanks for the idea to
Vladimir N. Oleynik.
git-svn-id: svn://busybox.net/trunk/busybox@1616 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux/rdate.c')
-rw-r--r-- | util-linux/rdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/rdate.c b/util-linux/rdate.c index 03f7f2de3..bb5392746 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c | |||
@@ -126,7 +126,7 @@ int rdate_main(int argc, char **argv) | |||
126 | perror_msg_and_die("Could not set time of day"); | 126 | perror_msg_and_die("Could not set time of day"); |
127 | } | 127 | } |
128 | if (printdate) { | 128 | if (printdate) { |
129 | fprintf(stdout, "%s", ctime(&time)); | 129 | printf("%s", ctime(&time)); |
130 | } | 130 | } |
131 | 131 | ||
132 | return EXIT_SUCCESS; | 132 | return EXIT_SUCCESS; |