ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit d9aaa0f501c2612d825ea6787e03c34b2badd1fb
parent 2557104494c9592c86b545cdf6de8e40f5702da8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  5 Jul 2014 15:47:30 +0000

pidof: fix typo, argv[0] -> argv[i]

Diffstat:
Mpidof.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pidof.c b/pidof.c @@ -95,7 +95,7 @@ main(int argc, char *argv[]) cmd++; for (i = 0; i < argc; i++) { if (strcmp(cmd, argv[i]) == 0 || - strcmp(cmdbase, argv[0]) == 0) { + strcmp(cmdbase, argv[i]) == 0) { putword(entry->d_name); found++; if (sflag)