From a6e6ae4a0a23114971dd49da917e86937f32c089 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 17 Dec 2020 12:48:38 -0500 Subject: blkid: Fix field widths --- diff --git a/blkid.c b/blkid.c index f88290d..d5bb7cf 100644 --- a/blkid.c +++ b/blkid.c @@ -46,7 +46,7 @@ read_id(const char *dev) return 1; } - printf("%" PRIx8 "%" PRIx8 "%" PRIx8 "%" PRIx8 "\n", + printf("%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "\n", id[3], id[2], id[1], id[0]); fclose(fp); diff --git a/changelog b/changelog index 1d13b11..04a5d0c 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,11 @@ +lilo (24.2-3) trunk + + * Fix field widths in the output of the "/usr/libexec/lilo/blkid" + utility, which in turn fixes the "root=PARTUUID=" option on Linux's + command line. + + -- Patrick McDermott Thu, 17 Dec 2020 12:48:17 -0500 + lilo (24.2-2) trunk * Use an included "/usr/libexec/lilo/blkid" utility instead of "od" to -- cgit v0.9.1