diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-15 16:26:38 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-06 23:53:04 +0100 |
commit | 092bfd5eb55d1b2d7ed098aa9723a2fa63b86192 (patch) | |
tree | 736de5366eb62dc8fe6a6506ea8b7fcbb9a7bd46 /common/tlsf_malloc.c | |
parent | c1f4371f66732a6bb0f39e5e385d85321ac9810b (diff) | |
download | barebox-092bfd5eb55d1b2d7ed098aa9723a2fa63b86192.tar.gz barebox-092bfd5eb55d1b2d7ed098aa9723a2fa63b86192.tar.xz |
fix another brown paper bag bug introduced with compile time loglevel
__pr_printk is a define which uses a local variable 'ret'. This
means that whenever someone does a pr_*("ret: %d\n", ret);
ret will be 0.
Fix this by writing this without a local variable.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/tlsf_malloc.c')
0 files changed, 0 insertions, 0 deletions