From: Denis Vlasenko Date: Thu, 20 Mar 2008 23:25:04 +0000 (-0000) Subject: fix compile breakage X-Git-Tag: 1_5_2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3d90be2efe6f70cef96048c6f3dfc71402a9bae4;p=oweals%2Fbusybox.git fix compile breakage --- diff --git a/coreutils/date.c b/coreutils/date.c index dfc8b2f40..91bd54a55 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);