From 94d5c6d93988ef82df64f94668674827ed1e2c8d Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Tue, 10 Oct 2017 23:38:02 +0100 Subject: [PATCH] intercept: Pretty print stuff Signed-off-by: Ikey Doherty --- src/intercept/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/intercept/main.c b/src/intercept/main.c index 2f2d34b..4fa9e0e 100644 --- a/src/intercept/main.c +++ b/src/intercept/main.c @@ -67,7 +67,7 @@ static bool is_intercept_candidate(void) return true; } fprintf(stderr, - "[LSI:%s]: debug: loading libintercept from LSI\n", + "\033[32;1m[LSI:%s]\033[0m: debug: loading libintercept from LSI\n", matched_process); return true; } @@ -92,9 +92,9 @@ _nica_public_ unsigned int la_version(unsigned int supported_version) */ static void emit_overriden_lib(const char *lib_name) { - /* TODO: Add some colour printing */ fprintf(stderr, - "[LSI:%s]: debug: blacklisted loading of vendored library: %s\n", + "\033[32;1m[LSI:%s]\033[0m: debug: blacklisted loading of vendored library: " + "\033[34;1m%s\033[0m\n", matched_process, lib_name); }