diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-16 04:12:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-16 04:12:34 +0000 |
commit | f25d8135bdb77a3fbbcce2d6820011e09316046e (patch) | |
tree | 76fce4a2b094e5b08810dece131e44a915fad9b2 /libsandbox | |
parent | unify SB_E{INFO,WARN,ERROR} functions and have them call the internal sb_prin... (diff) | |
download | sandbox-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')
-rw-r--r-- | libsandbox/wrapper-funcs/execve.c | 3 |
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: |