]> granicus.if.org Git - sudo/commitdiff
Silence a gcc warning.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 Jan 2012 20:33:51 +0000 (15:33 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 Jan 2012 20:33:51 +0000 (15:33 -0500)
src/sudo.c

index 7549d6941424e44477eba961385578fc236b79a2..c20735805ad087bcee2abfe9fca237dd51a71b59 100644 (file)
@@ -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;