aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: