diff options
author | Denis Vlasenko | 2008-03-20 23:25:04 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-03-20 23:25:04 +0000 |
commit | 3d90be2efe6f70cef96048c6f3dfc71402a9bae4 (patch) | |
tree | 110863a6199eb1f69022bf25cc88d07baa39183b | |
parent | b32502da83ff7e7241a4584c88f3a35859dfeeda (diff) | |
download | busybox-3d90be2efe6f70cef96048c6f3dfc71402a9bae4.zip busybox-3d90be2efe6f70cef96048c6f3dfc71402a9bae4.tar.gz |
fix compile breakage
-rw-r--r-- | coreutils/date.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index dfc8b2f..91bd54a 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -32,16 +32,10 @@ #define DATE_OPT_TIMESPEC 0x20 #define DATE_OPT_HINT 0x40 -static void xputenv(char *s) -{ - if (putenv(s) != 0) - bb_error_msg_and_die(bb_msg_memory_exhausted); -} - static void maybe_set_utc(int opt) { if (opt & DATE_OPT_UTC) - xputenv((char*)"TZ=UTC0"); + putenv((char*)"TZ=UTC0"); } int date_main(int argc, char **argv); |