diff options
author | Rob Landley <rob@landley.net> | 2012-02-08 19:29:14 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-02-08 19:29:14 -0600 |
commit | 7f28e68546837b5c636060507e2ab4bb581cd82b (patch) | |
tree | 820d9aefc17113b90d08da1561d5459e4489fc39 | |
parent | f7c1de35882f1f6eddada222efd798f0b66b6dcf (diff) | |
download | toybox-7f28e68546837b5c636060507e2ab4bb581cd82b.tar.gz |
Switch from deprecated function to gratuitously renamed identical non-depricated function. *shrug*
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ int main(int argc, char *argv[]) char *name; // Trim path off of command name - name = rindex(argv[0], '/'); + name = strrchr(argv[0], '/'); if (!name) name=argv[0]; else name++; argv[0] = name; |