summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2022-06-22 20:58:50 +0000
committerGaël PORTAY <gael.portay@gmail.com>2022-06-22 20:58:50 +0000
commit90ebe92a1b235fcf852d05e0f85ff2851caa8db6 (patch)
tree36cd0783c1db87eeeb8b66d52aa51219a1b1e209 /libgcompat
parentcd7e610bbfe3d6f72d5ce4b8dd158053123e864e (diff)
downloadgcompat-90ebe92a1b235fcf852d05e0f85ff2851caa8db6.tar.gz
gcompat-90ebe92a1b235fcf852d05e0f85ff2851caa8db6.tar.bz2
gcompat-90ebe92a1b235fcf852d05e0f85ff2851caa8db6.tar.xz
gcompat-90ebe92a1b235fcf852d05e0f85ff2851caa8db6.zip
pwd: Fix infinite loop
This fixes a typo in commit 810f46ab1cc801e54fc3836c22b5f1364cd632e6 that created an infinite recursive call.
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/pwd.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/**