[binutils-gdb] gprof: add missing newline to error text

Alan Modra amodra@sourceware.org
Sun Feb 9 22:28:43 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7fca0dec79833b811143524915fff1198bbc57a1

commit 7fca0dec79833b811143524915fff1198bbc57a1
Author: Richard Allen <rsaxvc@gmail.com>
Date:   Sun Feb 9 10:48:58 2025 -0600

    gprof: add missing newline to error text
    
    Signed-off-by: Richard Allen <rsaxvc@gmail.com>

Diff:
---
 gprof/hist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gprof/hist.c b/gprof/hist.c
index a8413d4e4aa..36393ef3b68 100644
--- a/gprof/hist.c
+++ b/gprof/hist.c
@@ -155,7 +155,7 @@ read_histogram_header (histogram *record,
       if (fabs (hist_scale - n_hist_scale) > 0.000001)
 	{
 	  fprintf (stderr,
-		   _("%s: different scales in histogram records"),
+		   _("%s: different scales in histogram records\n"),
 		   whoami);
 	  done (1);
 	}


More information about the Binutils-cvs mailing list