From 706074a5bb120f78f4fd8bc40c6814f14e17e530 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 15 Aug 1996 01:23:29 +0000 Subject: update from main archive 960814 --- shadow/sgetspent_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shadow') 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) -- cgit v1.1