aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-16 04:12:34 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-16 04:12:34 +0000
commitf25d8135bdb77a3fbbcce2d6820011e09316046e (patch)
tree76fce4a2b094e5b08810dece131e44a915fad9b2 /libsandbox/wrapper-funcs
parentunify SB_E{INFO,WARN,ERROR} functions and have them call the internal sb_prin... (diff)
downloadsandbox-f25d8135bdb77a3fbbcce2d6820011e09316046e.tar.gz
sandbox-f25d8135bdb77a3fbbcce2d6820011e09316046e.tar.bz2
sandbox-f25d8135bdb77a3fbbcce2d6820011e09316046e.zip
fix up one more old style SB_EERROR
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox/wrapper-funcs')
-rw-r--r--libsandbox/wrapper-funcs/execve.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libsandbox/wrapper-funcs/execve.c b/libsandbox/wrapper-funcs/execve.c
index 7bd5b91..8afe199 100644
--- a/libsandbox/wrapper-funcs/execve.c
+++ b/libsandbox/wrapper-funcs/execve.c
@@ -15,7 +15,6 @@ static int (*WRAPPER_TRUE_NAME)(WRAPPER_ARGS) = NULL;
/* See to see if this an ELF and if so, is it static which we can't wrap */
void check_exec(const char *filename)
{
- int color = ((is_env_on(ENV_NOCOLOR)) ? 0 : 1);
int fd;
unsigned char *elf;
struct stat st;
@@ -50,7 +49,7 @@ void check_exec(const char *filename)
PARSE_ELF(32);
else
PARSE_ELF(64);
- SB_EWARN(color, "QA: Static ELF", " %s\n", filename);
+ SB_EWARN("QA: Static ELF", " %s\n", filename);
done:
out_mmap: