summaryrefslogtreecommitdiff
path: root/libc/unistd/getlogin.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/getlogin.c')
-rw-r--r--libc/unistd/getlogin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/unistd/getlogin.c b/libc/unistd/getlogin.c
index d1a00feb9..d6a11b01e 100644
--- a/libc/unistd/getlogin.c
+++ b/libc/unistd/getlogin.c
@@ -46,7 +46,7 @@ int getlogin_r(char *name, size_t len)
return 0;
}
-char *cuserid(char *name)
+char *cuserid(char *s)
{
char *name = getlogin();
if (s) {