aboutsummaryrefslogtreecommitdiffstats
path: root/libmount/src/optstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/optstr.c')
-rw-r--r--libmount/src/optstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c
index ac20d87557..51526973df 100644
--- a/libmount/src/optstr.c
+++ b/libmount/src/optstr.c
@@ -807,7 +807,7 @@ int mnt_optstr_apply_flags(char **optstr, unsigned long flags,
const struct libmnt_optmap *ent;
struct ul_buffer buf = UL_INIT_BUFFER;
size_t sz;
- char *p;
+ const char *p;
ul_buffer_refer_string(&buf, *optstr);