summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-01 02:39:59 +0000
committermidipix <writeonce@midipix.org>2024-05-01 02:39:59 +0000
commit087078266ba30232a4205e0ee4f080659a8b0a33 (patch)
treed49773a99ae65b4c776ca1c0f536e4b3dd10b39a /src/output
parentae4fb541812386da97dd5b633f762f272f023b77 (diff)
downloadmdso-087078266ba30232a4205e0ee4f080659a8b0a33.tar.bz2
mdso-087078266ba30232a4205e0ee4f080659a8b0a33.tar.xz
mdso_output_expsyms_crc32(), mdso_output_expsyms_crc64(): add padding zeros.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/mdso_output_expsyms_crc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/mdso_output_expsyms_crc.c b/src/output/mdso_output_expsyms_crc.c
index 89d866e..75202bf 100644
--- a/src/output/mdso_output_expsyms_crc.c
+++ b/src/output/mdso_output_expsyms_crc.c
@@ -22,7 +22,7 @@ static int pretty_expsym_crc32(
const char * name)
{
return mdso_dprintf(
- fdout,"%" PRIx32 " %s\n",
+ fdout,"%08" PRIx32 " %s\n",
mdso_crc32_mbstr((const unsigned char *)name,0),
name);
}
@@ -32,7 +32,7 @@ static int pretty_expsym_crc64(
const char * name)
{
return mdso_dprintf(
- fdout,"%" PRIx64 " %s\n",
+ fdout,"%016" PRIx64 " %s\n",
mdso_crc64_mbstr((const unsigned char *)name,0),
name);
}