mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +08:00
(__setmntent): Fix typo.
This commit is contained in:
parent
2706ee3823
commit
b4c4f7767d
@ -58,7 +58,7 @@ getpass (prompt)
|
||||
else
|
||||
{
|
||||
/* We do the locking ourselves. */
|
||||
__fsetlocking (tf, FSETLOCKING_BYCALLER);
|
||||
__fsetlocking (in, FSETLOCKING_BYCALLER);
|
||||
|
||||
out = in;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user