aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-17 08:34:13 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-17 08:34:13 +0000
commitb4c4f7767d22b1e2ddbb3f0657418acafa323017 (patch)
treeace50269d7bd8385fd499dcf2f5a732fb7c5b582 /misc
parent2706ee382341eb1c2e5f96c7d90f346696dbd0d8 (diff)
downloadglibc-b4c4f7767d22b1e2ddbb3f0657418acafa323017.tar
glibc-b4c4f7767d22b1e2ddbb3f0657418acafa323017.tar.gz
glibc-b4c4f7767d22b1e2ddbb3f0657418acafa323017.tar.bz2
glibc-b4c4f7767d22b1e2ddbb3f0657418acafa323017.zip
(__setmntent): Fix typo.
Diffstat (limited to 'misc')
-rw-r--r--misc/getpass.c2
-rw-r--r--misc/mntent_r.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/getpass.c b/misc/getpass.c
index e9bd88903a..04ac12a76d 100644
--- a/misc/getpass.c
+++ b/misc/getpass.c
@@ -58,7 +58,7 @@ getpass (prompt)
else
{
/* We do the locking ourselves. */
- __fsetlocking (tf, FSETLOCKING_BYCALLER);
+ __fsetlocking (in, FSETLOCKING_BYCALLER);
out = in;
}
diff --git a/misc/mntent_r.c b/misc/mntent_r.c
index 7d86626fb5..1a87105657 100644
--- a/misc/mntent_r.c
+++ b/misc/mntent_r.c
@@ -38,7 +38,7 @@ __setmntent (const char *file, const char *mode)
if (result != NULL)
/* We do the locking ourselves. */
- __fsetlocking (fp, FSETLOCKING_BYCALLER);
+ __fsetlocking (result, FSETLOCKING_BYCALLER);
return result;
}