From: Greg Kroah-Hartman Date: Mon, 13 Apr 2009 19:55:41 +0000 (-0700) Subject: add "bti:" to the beginning of all debug messages X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/commitdiff_plain/d9259559fb26a3466d961d09e4a02ed77da1a35c?hp=3e9dc49cbbceb2cb03f88c3ba84c094b9b3af12b add "bti:" to the beginning of all debug messages This makes it a bit easier to parse what is going on. --- diff --git a/bti.c b/bti.c index 6fffef5..2e7e2d3 100644 --- a/bti.c +++ b/bti.c @@ -43,7 +43,8 @@ #define dbg(format, arg...) \ do { \ if (debug) \ - printf("%s: " format , __func__ , ## arg); \ + fprintf(stdout, "bti: %s: " format , __func__ , \ + ## arg); \ } while (0)