diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-08-04 15:04:23 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-08-06 21:24:38 +0200 |
commit | e69293ecdba18bbd4496209914d482f3b9fc97a2 (patch) | |
tree | 783322f32c29e9ed6a8cb251b3e241df61967a54 /utils | |
parent | f72617c002bbb5ebfa6283c692dbab782f5289cc (diff) |
sbtools: standard sb print function is now standard
Change-Id: I2746bfff9a360ef4fc823853859609ffed5d2b67
Diffstat (limited to 'utils')
-rw-r--r-- | utils/imxtools/sbtools/sb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/imxtools/sbtools/sb.c b/utils/imxtools/sbtools/sb.c index 83ed9184ea..05f9836b46 100644 --- a/utils/imxtools/sbtools/sb.c +++ b/utils/imxtools/sbtools/sb.c @@ -1255,8 +1255,9 @@ void sb_get_zero_key(struct crypto_key_t *key) void sb_std_printf(void *user, bool error, color_t c, const char *fmt, ...) { - (void) user; - (void) error; + (void)user; + if(!g_debug && !error) + return; va_list args; va_start(args, fmt); color(c); |