summaryrefslogtreecommitdiff
path: root/coreutils/date.c
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 13:45:32 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 13:45:32 +0000
commita2eec6051f81b272521da3001f52d1e43abde6df (patch)
treee04993b192fc956e4d0fd28b0f4220fef795348c /coreutils/date.c
parent6f347ef9dc540aaea025c0575e586817cd85cc8e (diff)
downloadbusybox-w32-a2eec6051f81b272521da3001f52d1e43abde6df.tar.gz
busybox-w32-a2eec6051f81b272521da3001f52d1e43abde6df.tar.bz2
busybox-w32-a2eec6051f81b272521da3001f52d1e43abde6df.zip
RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1
Diffstat (limited to 'coreutils/date.c')
-rw-r--r--coreutils/date.c6
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;