aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/lsb/pidof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/pidof.c b/toys/lsb/pidof.c
index 70582a51..7ef54034 100644
--- a/toys/lsb/pidof.c
+++ b/toys/lsb/pidof.c
@@ -49,6 +49,6 @@ static int print_pid(pid_t pid, char * name)
void pidof_main(void)
{
toys.exitval = 1;
- name_to_pid(toys.optargs, print_pid);
+ names_to_pid(toys.optargs, print_pid);
if (!toys.exitval) xputc('\n');
}