summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorMike Frysinger2006-01-08 11:15:53 +0000
committerMike Frysinger2006-01-08 11:15:53 +0000
commite87ae0bd4f6d88b891d2c9593b8cc7670dd25597 (patch)
treec22541d865e3fa3962243d11151fbb3d4a4d4d7b /loginutils
parente885d5300a2a087e552b5b4ed5d3602d49a3fde9 (diff)
downloadbusybox-e87ae0bd4f6d88b891d2c9593b8cc7670dd25597.zip
busybox-e87ae0bd4f6d88b891d2c9593b8cc7670dd25597.tar.gz
declare const for fun
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index b60b897..d18cc1e 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];