summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 11:15:53 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 11:15:53 +0000
commite87ae0bd4f6d88b891d2c9593b8cc7670dd25597 (patch)
treec22541d865e3fa3962243d11151fbb3d4a4d4d7b
parente885d5300a2a087e552b5b4ed5d3602d49a3fde9 (diff)
declare const for fun
-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];