aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/check
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/check')
-rw-r--r--src/liblzma/check/crc32_tablegen.c2
-rw-r--r--src/liblzma/check/crc64_tablegen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/check/crc32_tablegen.c b/src/liblzma/check/crc32_tablegen.c
index d0c41caa..fbcbf474 100644
--- a/src/liblzma/check/crc32_tablegen.c
+++ b/src/liblzma/check/crc32_tablegen.c
@@ -70,7 +70,7 @@ print_crc32_table(void)
printf("0x%08" PRIX32, crc32_table[s][b]);
if (b != 255)
- printf(", ");
+ printf(",%s", (b+1) % 4 == 0 ? "" : " ");
}
if (s == 7)
diff --git a/src/liblzma/check/crc64_tablegen.c b/src/liblzma/check/crc64_tablegen.c
index b20086f8..a0fa4ab2 100644
--- a/src/liblzma/check/crc64_tablegen.c
+++ b/src/liblzma/check/crc64_tablegen.c
@@ -71,7 +71,7 @@ print_crc64_table(void)
crc64_table[s][b]);
if (b != 255)
- printf(", ");
+ printf(",%s", (b+1) % 2 == 0 ? "" : " ");
}
if (s == 3)