From b00dd55ac8303a781f870a153a403f74b10af823 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 23 Jul 2018 11:33:05 +0200 Subject: libmount: fix compiler warning [-Wcast-qual] Signed-off-by: Karel Zak --- libmount/src/fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmount') 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; -- cgit v1.2.3-55-g7522