diff options
Diffstat (limited to 'sysdeps/unix/getlogin_r.c')
-rw-r--r-- | sysdeps/unix/getlogin_r.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/getlogin_r.c b/sysdeps/unix/getlogin_r.c index 8bb3de5e75..a78e554860 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-2015 Free Software Foundation, Inc. + Copyright (C) 1991-2016 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 @@ -34,9 +34,7 @@ STATIC #endif int -__getlogin_r (name, name_len) - char *name; - size_t name_len; +__getlogin_r (char *name, size_t name_len) { char tty_pathname[2 + 2 * NAME_MAX]; char *real_tty_path = tty_pathname; |