aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb/pidof.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-09-11 12:09:53 -0500
committerRob Landley <rob@landley.net>2013-09-11 12:09:53 -0500
commitcd0b70e739055e5e8a5d9d6f823bdd3fa97ee509 (patch)
treeaee5f419a7ba2471bb43c404121bb43df8abdce7 /toys/lsb/pidof.c
parent9b9a1ef58763c9a6fc0cd23f125353716824b8bc (diff)
downloadtoybox-cd0b70e739055e5e8a5d9d6f823bdd3fa97ee509.tar.gz
Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. (Fix it.)0.4.6
Diffstat (limited to 'toys/lsb/pidof.c')
-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');
}