]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
(xputenv): Invoke xalloc_die instead of printing our own message.
authorJim Meyering <jim@meyering.net>
Mon, 7 Aug 2000 16:50:11 +0000 (16:50 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 7 Aug 2000 16:50:11 +0000 (16:50 +0000)
login-utils/su.c

index 6a5116ef2397ccefa7c73da999176c1116f3d44c..ee31eafd19d411f97bfbda8ca3197a9aa477f3ae 100644 (file)
@@ -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