aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 13:45:32 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 13:45:32 +0000
commita2eec6051f81b272521da3001f52d1e43abde6df (patch)
treee04993b192fc956e4d0fd28b0f4220fef795348c /procps
parent6f347ef9dc540aaea025c0575e586817cd85cc8e (diff)
downloadbusybox-a2eec6051f81b272521da3001f52d1e43abde6df.tar.gz
RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1
Diffstat (limited to 'procps')
-rw-r--r--procps/pidof.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/procps/pidof.c b/procps/pidof.c
index acd2d515f..c142e33c8 100644
--- a/procps/pidof.c
+++ b/procps/pidof.c
@@ -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. */