RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1

This commit is contained in:
"Vladimir N. Oleynik"
2005-10-15 13:45:32 +00:00
parent 6f347ef9dc
commit a2eec6051f
3 changed files with 10 additions and 8 deletions

View File

@ -60,7 +60,7 @@ extern int pidof_main(int argc, char **argv)
#if ENABLE_FEATURE_PIDOF_OMIT
/* fill omit list. */
{
RESERVE_CONFIG_BUFFER(getppid_str, 32);
char getppid_str[32];
llist_t * omits_p = omits;
while (omits_p) {
/* are we asked to exclude the parent's process ID? */
@ -76,8 +76,6 @@ extern int pidof_main(int argc, char **argv)
}
omits_p = omits_p->link;
}
if (ENABLE_FEATURE_CLEAN_UP)
RELEASE_CONFIG_BUFFER(getppid_str);
}
#endif
/* Looks like everything is set to go. */