From a2eec6051f81b272521da3001f52d1e43abde6df Mon Sep 17 00:00:00 2001 From: "Vladimir N. Oleynik" Date: Sat, 15 Oct 2005 13:45:32 +0000 Subject: RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1 --- procps/pidof.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'procps') diff --git a/procps/pidof.c b/procps/pidof.c index acd2d51..c142e33 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. */ -- cgit v1.1