[PATCH] Missing newline for: elfcompress -t zlib-gnu a.out -force

Martin Liška mliska@suse.cz
Mon Nov 28 13:03:24 GMT 2022


Hey.

Fixes:
./src/elfcompress -t zlib-gnu a.out -force
[28] .zdebug_aranges unchanged, already GNU compressed[29] .zdebug_info unchanged, already GNU compressed[30] .zdebug_abbrev unchanged, already GNU compressed[31] .zdebug_line unchanged, already GNU compressed[32] .zdebug_str unchanged, already GNU compressed[33] .zdebug_line_str unchanged, already GNU compressed[34] .zdebug_rnglists unchanged, already GNU compressed

to:
./src/elfcompress -t zlib-gnu a.out -force
[28] .zdebug_aranges unchanged, already GNU compressed
[29] .zdebug_info unchanged, already GNU compressed
[30] .zdebug_abbrev unchanged, already GNU compressed
[31] .zdebug_line unchanged, already GNU compressed
[32] .zdebug_str unchanged, already GNU compressed
[33] .zdebug_line_str unchanged, already GNU compressed
[34] .zdebug_rnglists unchanged, already GNU compressed

I'm going to push it as obvious, hope it's fine?

Thanks,
Martin

src/ChangeLog:

	* elfcompress.c (process_file): Add missing newline.
---
  src/elfcompress.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/elfcompress.c b/src/elfcompress.c
index 6f18e47d..51ff69d2 100644
--- a/src/elfcompress.c
+++ b/src/elfcompress.c
@@ -765,7 +765,7 @@ process_file (const char *fname)
  	      else if (verbose >= 0)
  		{
  		  if (startswith (sname, ".zdebug"))
-		    printf ("[%zd] %s unchanged, already GNU compressed",
+		    printf ("[%zd] %s unchanged, already GNU compressed\n",
  			    ndx, sname);
  		  else
  		    printf ("[%zd] %s cannot GNU compress section not starting with .debug\n",
-- 
2.38.1



More information about the Elfutils-devel mailing list