summaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src')
-rw-r--r--libmount/src/fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/fs.c b/libmount/src/fs.c
index def32253c..98ce54d88 100644
--- a/libmount/src/fs.c
+++ b/libmount/src/fs.c
@@ -840,7 +840,7 @@ int mnt_fs_append_options(struct libmnt_fs *fs, const char *optstr)
if (!optstr)
return 0;
- rc = mnt_split_optstr((char *) optstr, &u, &v, &f, 0, 0);
+ rc = mnt_split_optstr(optstr, &u, &v, &f, 0, 0);
if (rc)
return rc;
@@ -882,7 +882,7 @@ int mnt_fs_prepend_options(struct libmnt_fs *fs, const char *optstr)
if (!optstr)
return 0;
- rc = mnt_split_optstr((char *) optstr, &u, &v, &f, 0, 0);
+ rc = mnt_split_optstr(optstr, &u, &v, &f, 0, 0);
if (rc)
return rc;