diff options
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index eeaa7ea69cf..7632364bdea 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)) |