summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mount.cifs.c2
1 files changed, 1 insertions, 1 deletions
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",