Fix the following clang warning: exfat.c:130:41: warning: conversion specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat] blkid_probe_sprintf_version(pr, "%hu.%hu", ~~^ %c Signed-off-by: Francesco Cosoleto <cosoleto@xxxxxxxxx> --- libblkid/src/superblocks/exfat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libblkid/src/superblocks/exfat.c b/libblkid/src/superblocks/exfat.c index bada3a8..215c671 100644 --- a/libblkid/src/superblocks/exfat.c +++ b/libblkid/src/superblocks/exfat.c @@ -127,7 +127,7 @@ static int probe_exfat(blkid_probe pr, const struct blkid_idmag *mag) sb->volume_serial[3], sb->volume_serial[2], sb->volume_serial[1], sb->volume_serial[0]); - blkid_probe_sprintf_version(pr, "%hu.%hu", + blkid_probe_sprintf_version(pr, "%u.%u", sb->version.major, sb->version.minor); return 0; -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html