diff toys/lsb/pidof.c @ 1068:7ada6da9540a draft 0.4.6

Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. (Fix it.)
author Rob Landley <rob@landley.net>
date Wed, 11 Sep 2013 12:09:53 -0500
parents 242c5de2bb22
children 1e4e707fc0bc
line wrap: on
line diff
--- a/toys/lsb/pidof.c	Tue Sep 10 02:04:45 2013 -0500
+++ b/toys/lsb/pidof.c	Wed Sep 11 12:09:53 2013 -0500
@@ -49,6 +49,6 @@
 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');
 }