diff options
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); |