summaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
authorKarel Zak2018-07-23 11:33:05 +0200
committerKarel Zak2018-07-23 11:33:13 +0200
commitb00dd55ac8303a781f870a153a403f74b10af823 (patch)
tree2666049549e9bb1a1c54c3b22895bc74a6652a65 /libmount/src
parentlib/loopdev: fix compiler warning [-Wcast-qual] (diff)
downloadkernel-qcow2-util-linux-b00dd55ac8303a781f870a153a403f74b10af823.tar.gz
kernel-qcow2-util-linux-b00dd55ac8303a781f870a153a403f74b10af823.tar.xz
kernel-qcow2-util-linux-b00dd55ac8303a781f870a153a403f74b10af823.zip
libmount: fix compiler warning [-Wcast-qual]
Signed-off-by: Karel Zak <kzak@redhat.com>
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;