mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Fix typo in cuserid
This commit is contained in:
@@ -44,6 +44,6 @@ cuserid (s)
|
||||
|
||||
if (s == NULL)
|
||||
s = name;
|
||||
s[L_userid - 1] = '\0';
|
||||
s[L_cuserid - 1] = '\0';
|
||||
return strncpy (s, pwptr->pw_name, L_cuserid - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user