summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-01-29 14:36:36 -0800
committerJeremy Allison <jra@samba.org>2010-01-29 14:36:36 -0800
commitce73f91ee2681862e26e84e5572336d84cf341c4 (patch)
treebfdb8d5eeaba6c5b95bcbf151a295fc892d77511
parentd89427ad271470bee11cfb0283e76d7b8a48e416 (diff)
downloadsamba-ce73f91ee2681862e26e84e5572336d84cf341c4.tar.gz
samba-ce73f91ee2681862e26e84e5572336d84cf341c4.tar.bz2
samba-ce73f91ee2681862e26e84e5572336d84cf341c4.zip
Fix const warning.
Jeremy
-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",