(__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 e9bd889..04ac12a 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 7d86626..1a87105 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;
 }