diff --git a/lib/gshadow.c b/lib/gshadow.c index c17af67f..ca14449a 100644 --- a/lib/gshadow.c +++ b/lib/gshadow.c @@ -128,7 +128,7 @@ void endsgent (void) sgrbuflen = len; } - strlcpy (sgrbuf, string, len); + strcpy (sgrbuf, string); cp = strrchr (sgrbuf, '\n'); if (NULL != cp) {