summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-17 12:48:38 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-17 12:48:38 (EST)
commita6e6ae4a0a23114971dd49da917e86937f32c089 (patch)
tree34ccef19e858bc2ba9aa602f4da07d4b997699c7
parent901e1d1042503a82ec8d950c85d17bf424c7200b (diff)
blkid: Fix field widths
-rw-r--r--blkid.c2
-rw-r--r--changelog8
2 files changed, 9 insertions, 1 deletions
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 <patrick.mcdermott@libiquity.com> 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