diff options
author | Gaël PORTAY <gael.portay@gmail.com> | 2022-06-22 20:58:50 +0000 |
---|---|---|
committer | Gaël PORTAY <gael.portay@gmail.com> | 2022-06-22 20:58:50 +0000 |
commit | 90ebe92a1b235fcf852d05e0f85ff2851caa8db6 (patch) | |
tree | 36cd0783c1db87eeeb8b66d52aa51219a1b1e209 /libgcompat | |
parent | cd7e610bbfe3d6f72d5ce4b8dd158053123e864e (diff) | |
download | gcompat-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.c | 2 |
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); } /** |