From: Karel Zak Date: Mon, 16 Mar 2009 12:08:45 +0000 (+0100) Subject: lib: fsprobe - fix gcc warning X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07dfde722bdb01109938bdedaf3f12d928cf0fc9;p=util-linux lib: fsprobe - fix gcc warning 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 --- 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);