From cb49c305e3c78179b19d6f174ae73309544292b8 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 10 Apr 2016 14:35:51 -0500 Subject: Didn't check in all my local basename_r->getbasename changes. (Oops.) --- lib/lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lib.c') diff --git a/lib/lib.c b/lib/lib.c index 0380c13b..0df45bf9 100644 --- a/lib/lib.c +++ b/lib/lib.c @@ -948,7 +948,7 @@ void names_to_pid(char **names, int (*callback)(pid_t pid, char *name)) for (curname = names; *curname; curname++) if (**curname == '/' ? !strcmp(cmd, *curname) - : !strcmp(basename_r(cmd), basename_r(*curname))) + : !strcmp(getbasename(cmd), getbasename(*curname))) if (callback(u, *curname)) break; if (*curname) break; } -- cgit v1.2.3