about summary refs log tree commit diff
path: root/misc/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getpass.c')
-rw-r--r--misc/getpass.c2
1 files changed, 1 insertions, 1 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;
     }