From b1213d9338717f837a9200c96d56209a2cd42d7d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 23 Dec 2015 23:30:31 -0500 Subject: [PATCH] flthdr: fix print output w/no flags If the file has no flags, make sure we still include the closing paren and newline in the output. --- flthdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flthdr.c b/flthdr.c index dfc9107..de31098 100644 --- a/flthdr.c +++ b/flthdr.c @@ -138,8 +138,8 @@ process_file(char *ifile, char *ofile) printf("Kernel-Traced-Load "); if (old_flags & FLAT_FLAG_L1STK) printf("L1-Scratch-Stack "); - printf(")\n"); } + printf(")\n"); if (print_relocs) { uint32_t *relocs = xcalloc(reloc_count, sizeof(uint32_t)); -- 2.39.5