aboutsummaryrefslogtreecommitdiff
path: root/utils/manifest/manifest.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/manifest/manifest.c')
-rw-r--r--utils/manifest/manifest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/manifest/manifest.c b/utils/manifest/manifest.c
index ab1f80fd..94b5415b 100644
--- a/utils/manifest/manifest.c
+++ b/utils/manifest/manifest.c
@@ -130,10 +130,10 @@ static const Manifest *read_manifest(const char *filename, const int print_cms,
for (i = 0; i < sk_FileAndHash_num(m->fileList); i++) {
FileAndHash *fah = sk_FileAndHash_value(m->fileList, i);
- printf(" file[%2d]: %s\n", i, fah->file->data);
- printf(" hash[%2d]: ", i);
+ printf("%3d: ", i);
for (j = 0; j < fah->hash->length; j++)
- printf("%02x%s", fah->hash->data[j], j == fah->hash->length - 1 ? "\n" : ":");
+ printf("%02x%s", fah->hash->data[j], j == fah->hash->length - 1 ? " " : ":");
+ printf(" %s\n", fah->file->data);
}
if (X509_cmp_current_time(m->nextUpdate) < 0)