From ce73f91ee2681862e26e84e5572336d84cf341c4 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 29 Jan 2010 14:36:36 -0800 Subject: Fix const warning. Jeremy --- client/mount.cifs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/mount.cifs.c') diff --git a/client/mount.cifs.c b/client/mount.cifs.c index 9044184ed2..d307f4f012 100644 --- a/client/mount.cifs.c +++ b/client/mount.cifs.c @@ -1207,7 +1207,7 @@ static void print_cifs_mount_version(void) */ static int check_newline(const char *progname, const char *name) { - char *s; + const char *s; for (s = "\n"; *s; s++) { if (strchr(name, *s)) { fprintf(stderr, "%s: illegal character 0x%02x in mount entry\n", -- cgit