From: Karel Zak Date: Tue, 23 Sep 2008 12:59:53 +0000 (+0200) Subject: blkid: fix xfs label X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ef231e4d40831a53a35afcda93005c785abce03;p=util-linux blkid: fix xfs label Signed-off-by: Karel Zak --- diff --git a/libs/blkid/src/probers/xfs.c b/libs/blkid/src/probers/xfs.c index 47ca31a7..b4fe3c22 100644 --- a/libs/blkid/src/probers/xfs.c +++ b/libs/blkid/src/probers/xfs.c @@ -50,7 +50,8 @@ static int probe_xfs(blkid_probe pr, const struct blkid_idmag *mag) return -1; if (strlen(xs->xs_fname)) - blkid_probe_set_label(pr, xs->xs_fname, sizeof(xs->xs_fname)); + blkid_probe_set_label(pr, (unsigned char *) xs->xs_fname, + sizeof(xs->xs_fname)); blkid_probe_set_uuid(pr, xs->xs_uuid); return 0; }