diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-03-25 19:45:20 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-03-25 19:45:20 -0700 |
commit | 70c90289ff7e2f1ca976618bcf342d9c65c746fc (patch) | |
tree | b137a73907e3abed69bafe89483de0af3ce2b814 /sysdeps | |
parent | 89a4419cc384c090b1eabe610647aa4e14436a3f (diff) | |
parent | 34b514dff6acf8f1cac0afefd24049e025fd62ea (diff) | |
download | glibc-70c90289ff7e2f1ca976618bcf342d9c65c746fc.tar glibc-70c90289ff7e2f1ca976618bcf342d9c65c746fc.tar.gz glibc-70c90289ff7e2f1ca976618bcf342d9c65c746fc.tar.bz2 glibc-70c90289ff7e2f1ca976618bcf342d9c65c746fc.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Conflicts:
ChangeLog
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/cuserid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/cuserid.c b/sysdeps/posix/cuserid.c index f30c20e3f8..a74ff84368 100644 --- a/sysdeps/posix/cuserid.c +++ b/sysdeps/posix/cuserid.c @@ -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); } |