summaryrefslogtreecommitdiff
path: root/src/su.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-07 16:50:11 +0000
committerJim Meyering <jim@meyering.net>2000-08-07 16:50:11 +0000
commitd8f02c5c3a7867736e6e5345699f1bf760772891 (patch)
tree2ce69c876e06a042f93ee77a7b2d99f8f412d8ae /src/su.c
parent8f8f0254b217fad5a4fe7775af7bbf3f4206f80e (diff)
downloadcoreutils-d8f02c5c3a7867736e6e5345699f1bf760772891.tar.xz
(xputenv): Invoke xalloc_die instead of printing our own message.
Diffstat (limited to 'src/su.c')
-rw-r--r--src/su.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/su.c b/src/su.c
index 6a5116ef2..ee31eafd1 100644
--- 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