]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__setmntent): Fix typo.
authorUlrich Drepper <drepper@redhat.com>
Tue, 17 Jul 2001 08:34:13 +0000 (08:34 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 17 Jul 2001 08:34:13 +0000 (08:34 +0000)
misc/getpass.c
misc/mntent_r.c

index e9bd88903a14a6b18673af6acea01aa0fb81f6ba..04ac12a76dcff25f6572384eea65dbd67031145a 100644 (file)
@@ -58,7 +58,7 @@ getpass (prompt)
   else
     {
       /* We do the locking ourselves.  */
-      __fsetlocking (tf, FSETLOCKING_BYCALLER);
+      __fsetlocking (in, FSETLOCKING_BYCALLER);
 
       out = in;
     }
index 7d86626fb505f54014937c1effd06a76eadf24ef..1a87105657aad458c760ae5621fd421a3fd36537 100644 (file)
@@ -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;
 }