[binutils-gdb] libctf: fix a debugging typo

Nick Alcock nix@sourceware.org
Fri Apr 19 15:52:20 GMT 2024


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

commit a96a9ca9535e0a59bd4367dd84040aa0a9ac6f48
Author: Nick Alcock <nick.alcock@oracle.com>
Date:   Tue Apr 2 16:09:11 2024 +0100

    libctf: fix a debugging typo
    
    libctf/
    
            * ctf-lookup.c (ctf_symidx_sort): Fix a debugging typo.

Diff:
---
 libctf/ctf-lookup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libctf/ctf-lookup.c b/libctf/ctf-lookup.c
index f37dd7e45ce..1b1ebedc4b7 100644
--- a/libctf/ctf-lookup.c
+++ b/libctf/ctf-lookup.c
@@ -455,7 +455,7 @@ ctf_symidx_sort (ctf_dict_t *fp, uint32_t *idx, size_t *nidx,
   if (!(fp->ctf_header->cth_flags & CTF_F_IDXSORTED))
     {
       ctf_symidx_sort_arg_cb_t arg = { fp, idx };
-      ctf_dprintf ("Index section unsorted: sorting.");
+      ctf_dprintf ("Index section unsorted: sorting.\n");
       ctf_qsort_r (sorted, *nidx, sizeof (uint32_t), sort_symidx_by_name, &arg);
       fp->ctf_header->cth_flags |= CTF_F_IDXSORTED;
     }


More information about the Binutils-cvs mailing list