summaryrefslogtreecommitdiffstats
path: root/libblkid/src/superblocks/vfat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libblkid/src/superblocks/vfat.c')
-rw-r--r--libblkid/src/superblocks/vfat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libblkid/src/superblocks/vfat.c b/libblkid/src/superblocks/vfat.c
index f4628da4a..5061587ad 100644
--- a/libblkid/src/superblocks/vfat.c
+++ b/libblkid/src/superblocks/vfat.c
@@ -426,10 +426,10 @@ static int probe_vfat(blkid_probe pr, const struct blkid_idmag *mag)
}
if (boot_label && memcmp(boot_label, no_name, 11))
- blkid_probe_set_id_label(pr, "LABEL_FATBOOT", (unsigned char *) boot_label, 11);
+ blkid_probe_set_id_label(pr, "LABEL_FATBOOT", boot_label, 11);
if (vol_label)
- blkid_probe_set_label(pr, (unsigned char *) vol_label, 11);
+ blkid_probe_set_label(pr, vol_label, 11);
/* We can't just print them as %04X, because they are unaligned */
if (vol_serno)