summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getlogin.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/getlogin.2')
-rw-r--r--lib/libc/sys/getlogin.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/getlogin.2 b/lib/libc/sys/getlogin.2
index 7f7ba9b4173e..a3ce3599df7e 100644
--- a/lib/libc/sys/getlogin.2
+++ b/lib/libc/sys/getlogin.2
@@ -152,17 +152,17 @@ The following errors may be returned by these calls:
.It Bq Er EFAULT
The
.Fa name
-parameter gave an
+argument gave an
invalid address.
.It Bq Er EINVAL
The
.Fa name
-parameter
+argument
pointed to a string that was too long.
Login names are limited to
.Dv MAXLOGNAME
(from
-.Ao Pa sys/param.h Ac )
+.Aq Pa sys/param.h )
characters, currently 17 including null.
.It Bq Er EPERM
The caller tried to set the login name and was not the super-user.