From 07dfde722bdb01109938bdedaf3f12d928cf0fc9 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 16 Mar 2009 13:08:45 +0100 Subject: [PATCH] lib: fsprobe - fix gcc warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit lib/fsprobe.c: In function ‘fsprobe_get_fstype_by_devname’: lib/fsprobe.c:243: warning: return discards qualifiers from pointer target type Signed-off-by: Karel Zak --- lib/fsprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fsprobe.c b/lib/fsprobe.c index 2091d116..8c9eb6dc 100644 --- a/lib/fsprobe.c +++ b/lib/fsprobe.c @@ -227,7 +227,7 @@ char * fsprobe_get_fstype_by_devname(const char *devname) { blkid_cache c; - const char *tp; + char *tp; if (blcache) return blkid_get_tag_value(blcache, "TYPE", devname); -- 2.39.5