summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index eeaa7ea69c..7632364bde 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1304,7 +1304,7 @@ int interpret_protocol(const char *str,int def)
static char *strip_mount_options(const char *str)
{
if (*str == '-') {
- char *p = str;
+ const char *p = str;
while(*p && !isspace(*p))
p++;
while(*p && isspace(*p))