aboutsummaryrefslogtreecommitdiff
path: root/shadow/sgetspent_r.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-08-15 01:23:29 +0000
committerUlrich Drepper <drepper@redhat.com>1996-08-15 01:23:29 +0000
commit706074a5bb120f78f4fd8bc40c6814f14e17e530 (patch)
treec5da6add27af818bf38e5d9e4f9b3c2dedc718ff /shadow/sgetspent_r.c
parent046e3001f9370904c1efd764cfe49c472818ddfb (diff)
downloadglibc-706074a5bb120f78f4fd8bc40c6814f14e17e530.zip
glibc-706074a5bb120f78f4fd8bc40c6814f14e17e530.tar.gz
glibc-706074a5bb120f78f4fd8bc40c6814f14e17e530.tar.bz2
update from main archive 960814cvs/libc-960815
Diffstat (limited to 'shadow/sgetspent_r.c')
-rw-r--r--shadow/sgetspent_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shadow/sgetspent_r.c b/shadow/sgetspent_r.c
index 3ad72f0..134a45e 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)