summaryrefslogtreecommitdiff
path: root/client
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 /client
parentd89427ad271470bee11cfb0283e76d7b8a48e416 (diff)
downloadsamba-ce73f91ee2681862e26e84e5572336d84cf341c4.tar.gz
Fix const warning.
Jeremy
Diffstat (limited to 'client')
-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 9044184ed21..d307f4f0120 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",