From 90c0525c7e261f12d46b19ece4a694e7475dd52e Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 20 Feb 2017 14:46:18 +0100 Subject: [PATCH] Remove unnecessary static variable usage --- src/useradd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/useradd.c b/src/useradd.c index 1a565cf0..8b30a766 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -1794,7 +1794,7 @@ static void lastlog_reset (uid_t uid) static void tallylog_reset (char *user_name) { - static const char pam_tally2[] = "/sbin/pam_tally2"; + const char pam_tally2[] = "/sbin/pam_tally2"; const char *pname; pid_t childpid; int failed; -- 2.40.0