(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)
src/su.c

index 6a5116e..ee31eaf 100644 (file)
--- a/src/su.c
+++ b/src/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