From: Todd C. Miller Date: Mon, 9 Jan 2012 20:33:51 +0000 (-0500) Subject: Silence a gcc warning. X-Git-Tag: SUDO_1_8_4~69^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c142a52f5bf0906854aa279bbcfa13ff143bdedd;p=sudo Silence a gcc warning. --- diff --git a/src/sudo.c b/src/sudo.c index 7549d6941..c20735805 100644 --- a/src/sudo.c +++ b/src/sudo.c @@ -924,7 +924,7 @@ disable_execute(struct command_details *details) cp = fmt_string("LD_PRELOAD", sudo_conf_noexec_path()); # endif if (cp == NULL) - error(1, NULL); + errorx(1, _("unable to allocate memory")); nenvp[env_len++] = cp; nenvp[env_len] = NULL;