Verified Commit 4ac4d7f6 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

readlink: Update to correspond with loader changes

parent 4bd46a4c
......@@ -50,7 +50,7 @@ ssize_t readlink(const char *path, char *buf, size_t len)
/* Skip the --argv0/--preload ldso args.
* This number must be kept in sync with the
* argument order in loader/loader.c */
while (arg < 5) {
while (arg < 6) {
if (read(fd, &c, 1) != 1) {
goto fail_close;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment