diff options
author | Ulrich Drepper <drepper@redhat.com> | 1996-08-15 01:23:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1996-08-15 01:23:29 +0000 |
commit | 706074a5bb120f78f4fd8bc40c6814f14e17e530 (patch) | |
tree | c5da6add27af818bf38e5d9e4f9b3c2dedc718ff /shadow | |
parent | 046e3001f9370904c1efd764cfe49c472818ddfb (diff) | |
download | glibc-706074a5bb120f78f4fd8bc40c6814f14e17e530.tar.gz |
update from main archive 960814
Diffstat (limited to 'shadow')
-rw-r--r-- | shadow/sgetspent_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shadow/sgetspent_r.c b/shadow/sgetspent_r.c index 3ad72f0c0a..134a45e5b4 100644 --- a/shadow/sgetspent_r.c +++ b/shadow/sgetspent_r.c @@ -66,7 +66,7 @@ struct spwd * __sgetspent_r (const char *string, struct spwd *result, char *buffer, int buflen) { - return parse_line (strncpy (string, buffer, buflen), result, NULL, 0) + return parse_line (strncpy (buffer, string, buflen), result, NULL, 0) ? result : NULL; } weak_alias (__sgetspent_r, sgetspent_r) |