diff options
Diffstat (limited to 'sysdeps/unix/getlogin_r.c')
-rw-r--r-- | sysdeps/unix/getlogin_r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/getlogin_r.c b/sysdeps/unix/getlogin_r.c index 8ec2fae754..cb0545e08a 100644 --- a/sysdeps/unix/getlogin_r.c +++ b/sysdeps/unix/getlogin_r.c @@ -1,5 +1,5 @@ /* Reentrant function to return the current login name. Unix version. - Copyright (C) 1991, 1992, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -45,8 +45,8 @@ getlogin_r (name, name_len) if (d < 0) return errno; - result = ttyname_r (d, real_tty_path, sizeof (tty_pathname)); - (void) close (d); + result = __ttyname_r (d, real_tty_path, sizeof (tty_pathname)); + (void) __close (d); if (result != 0) { |