*: 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>
This commit is contained in:
Denys Vlasenko
2009-10-06 22:09:50 +02:00
parent 8d680b5114
commit 7bb346f23c
5 changed files with 6 additions and 14 deletions

View File

@@ -13083,7 +13083,6 @@ init(void)
/* from var.c: */
{
char **envp;
char ppid[sizeof(int)*3 + 2];
const char *p;
struct stat st1, st2;
@@ -13094,8 +13093,7 @@ init(void)
}
}
sprintf(ppid, "%u", (unsigned) getppid());
setvar("PPID", ppid, 0);
setvar("PPID", utoa(getppid()), 0);
p = lookupvar("PWD");
if (p)