aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/find_pid_by_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/find_pid_by_name.c b/libbb/find_pid_by_name.c
index 2ee423cb7..92d6d0254 100644
--- a/libbb/find_pid_by_name.c
+++ b/libbb/find_pid_by_name.c
@@ -88,7 +88,7 @@ pid_t* FAST_FUNC find_pid_by_name(const char *procName)
88 if (comm_match(p, procName) 88 if (comm_match(p, procName)
89 /* or we require argv0 to match (essential for matching reexeced /proc/self/exe)*/ 89 /* or we require argv0 to match (essential for matching reexeced /proc/self/exe)*/
90 || (p->argv0 && strcmp(bb_basename(p->argv0), procName) == 0) 90 || (p->argv0 && strcmp(bb_basename(p->argv0), procName) == 0)
91 /* TOOD: we can also try /proc/NUM/exe link, do we want that? */ 91 /* TODO: we can also try /proc/NUM/exe link, do we want that? */
92 ) { 92 ) {
93 pidList = xrealloc_vector(pidList, 2, i); 93 pidList = xrealloc_vector(pidList, 2, i);
94 pidList[i++] = p->pid; 94 pidList[i++] = p->pid;