summaryrefslogtreecommitdiffstats
path: root/utils/imxtools/sbtools
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-08-04 15:04:23 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-08-06 21:24:38 +0200
commite69293ecdba18bbd4496209914d482f3b9fc97a2 (patch)
tree783322f32c29e9ed6a8cb251b3e241df61967a54 /utils/imxtools/sbtools
parentf72617c002bbb5ebfa6283c692dbab782f5289cc (diff)
downloadrockbox-e69293ecdba18bbd4496209914d482f3b9fc97a2.tar.gz
rockbox-e69293ecdba18bbd4496209914d482f3b9fc97a2.tar.bz2
rockbox-e69293ecdba18bbd4496209914d482f3b9fc97a2.zip
sbtools: standard sb print function is now standard
Change-Id: I2746bfff9a360ef4fc823853859609ffed5d2b67
Diffstat (limited to 'utils/imxtools/sbtools')
-rw-r--r--utils/imxtools/sbtools/sb.c5
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);