diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-06 22:09:50 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-06 22:09:50 +0200 |
commit | 7bb346f23c5f7a31f210fe95dcba093d0dc51571 (patch) | |
tree | 2239fc7d76b743ada2f8836a3722f36a3981eee3 /miscutils/fbsplash.c | |
parent | 8d680b51148b9cbe7dd3afd37022f3390dd999ef (diff) |
*: use {i,u}toa() where appropriate
function old new delta
startservice 377 363 -14
setari_u 54 40 -14
ash_main 1375 1361 -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-42) Total: -42 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/fbsplash.c')
-rw-r--r-- | miscutils/fbsplash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index ec0f092dc..3d225e549 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c @@ -391,9 +391,7 @@ int fbsplash_main(int argc UNUSED_PARAM, char **argv) num = atoi(num_buf); if (isdigit(num_buf[0]) && (num <= 100)) { #if DEBUG - char strVal[10]; - sprintf(strVal, "%d", num); - DEBUG_MESSAGE(strVal); + DEBUG_MESSAGE(itoa(num)); #endif fb_drawprogressbar(num); } |