aboutsummaryrefslogtreecommitdiff
path: root/rdate.c
diff options
context:
space:
mode:
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)
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;