diff options
author | Karel Zak | 2018-07-23 11:33:05 +0200 |
---|---|---|
committer | Karel Zak | 2018-07-23 11:33:13 +0200 |
commit | b00dd55ac8303a781f870a153a403f74b10af823 (patch) | |
tree | 2666049549e9bb1a1c54c3b22895bc74a6652a65 | |
parent | lib/loopdev: fix compiler warning [-Wcast-qual] (diff) | |
download | kernel-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>
-rw-r--r-- | libmount/src/fs.c | 4 |
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; |