aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loginutils/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index b60b8973e..d18cc1e12 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -31,7 +31,7 @@ static int get_algo(char *a)
}
-static int update_passwd(const struct passwd *pw, char *crypt_pw)
+static int update_passwd(const struct passwd *pw, const char *crypt_pw)
{
char filename[1024];
char buf[1025];