From 9ef231e4d40831a53a35afcda93005c785abce03 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 23 Sep 2008 14:59:53 +0200 Subject: [PATCH] blkid: fix xfs label Signed-off-by: Karel Zak --- libs/blkid/src/probers/xfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5