From c97be95a5107cdd760041c18250092c4ac997ca0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 17 Jun 2016 23:32:00 +0100 Subject: [PATCH] passwd: fix warnings --- Applications/util/passwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/util/passwd.c b/Applications/util/passwd.c index 7ca6e0a3..62242fe7 100644 --- a/Applications/util/passwd.c +++ b/Applications/util/passwd.c @@ -24,13 +24,13 @@ int time_zone = 0; int main(int argc, char *argv[]) { - char *s, *pbuf, *tmp_fname, *pwf = "/etc/passwd"; + char *s, *pbuf, *tmp_fname; + const char *pwf = "/etc/passwd"; char salt[3]; int n, failure_cnt, uid, gid; struct passwd *pwd; FILE * passwd_fp; time_t now; - long lnow; umask(022); -- 2.34.1