From 4ac4d7f60f04ffac3385f0e005260194733acf0a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 22 Aug 2020 00:41:22 -0500 Subject: readlink: Update to correspond with loader changes --- libgcompat/readlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcompat/readlink.c b/libgcompat/readlink.c index 9b3e2dd..42501fe 100644 --- a/libgcompat/readlink.c +++ b/libgcompat/readlink.c @@ -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; } -- cgit v1.2.3-70-g09d2