(__setmntent): Fix typo.

This commit is contained in:
Ulrich Drepper 2001-07-17 08:34:13 +00:00
parent 2706ee3823
commit b4c4f7767d
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ getpass (prompt)
else
{
/* We do the locking ourselves. */
__fsetlocking (tf, FSETLOCKING_BYCALLER);
__fsetlocking (in, FSETLOCKING_BYCALLER);
out = in;
}

View 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;
}