From: Jim Meyering Date: Mon, 7 Aug 2000 16:50:11 +0000 (+0000) Subject: (xputenv): Invoke xalloc_die instead of printing our own message. X-Git-Tag: v2.22-rc1~347^2~10^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55cb4d40ba0583d9ac8bbc6e0c779f468ef7bd64;p=thirdparty%2Futil-linux.git (xputenv): Invoke xalloc_die instead of printing our own message. --- diff --git a/login-utils/su.c b/login-utils/su.c index 6a5116ef23..ee31eafd19 100644 --- a/login-utils/su.c +++ b/login-utils/su.c @@ -184,7 +184,7 @@ static void xputenv (const char *val) { if (putenv (val)) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); } /* Return a newly-allocated string whose contents concatenate