diff options
author | Rob Landley <rob@landley.net> | 2016-04-10 14:35:51 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-04-10 14:35:51 -0500 |
commit | cb49c305e3c78179b19d6f174ae73309544292b8 (patch) | |
tree | 2db86bbd2a9008e823410d705f6f162ee2aa4265 /lib | |
parent | 5acc6f402a940752822f70d7430f595541417e9f (diff) | |
download | toybox-cb49c305e3c78179b19d6f174ae73309544292b8.tar.gz |
Didn't check in all my local basename_r->getbasename changes. (Oops.)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |