From 90ebe92a1b235fcf852d05e0f85ff2851caa8db6 Mon Sep 17 00:00:00 2001 From: Gaƫl PORTAY Date: Wed, 22 Jun 2022 20:58:50 +0000 Subject: pwd: Fix infinite loop This fixes a typo in commit 810f46ab1cc801e54fc3836c22b5f1364cd632e6 that created an infinite recursive call. --- libgcompat/pwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgcompat') diff --git a/libgcompat/pwd.c b/libgcompat/pwd.c index 34c5d7b..7b925ca 100644 --- a/libgcompat/pwd.c +++ b/libgcompat/pwd.c @@ -77,7 +77,7 @@ int fgetpwent_r(FILE *stream, struct passwd *pwd, char *buf, size_t len, { assert(stream != NULL); - return fgetpwent_r(stream, pwd, buf, len, result); + return __fgetpwent_r(stream, pwd, buf, len, result); } /** -- cgit v1.2.3-70-g09d2