diff options
Diffstat (limited to 'coreutils/date.c')
-rw-r--r-- | coreutils/date.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index 6593df970..e9ec51044 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -282,10 +282,8 @@ int date_main(int argc, char **argv) | |||
282 | 282 | ||
283 | { | 283 | { |
284 | /* Print OUTPUT (after ALL that!) */ | 284 | /* Print OUTPUT (after ALL that!) */ |
285 | RESERVE_CONFIG_BUFFER(t_buff, 201); | 285 | strftime(bb_common_bufsiz1, 200, date_fmt, &tm_time); |
286 | strftime(t_buff, 200, date_fmt, &tm_time); | 286 | puts(bb_common_bufsiz1); |
287 | puts(t_buff); | ||
288 | RELEASE_CONFIG_BUFFER(t_buff); | ||
289 | } | 287 | } |
290 | 288 | ||
291 | return EXIT_SUCCESS; | 289 | return EXIT_SUCCESS; |