This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=660ddc2af8120382bb14750143724f09181aefc5

commit 660ddc2af8120382bb14750143724f09181aefc5
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Aug 7 01:20:50 2025 +0200

    libdpkg: Print () after function name in internerr message
    
    This should make it more clear this name refers to a function name.
---
 lib/dpkg/ehandle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dpkg/ehandle.c b/lib/dpkg/ehandle.c
index 5f9d1b102..767aad0f6 100644
--- a/lib/dpkg/ehandle.c
+++ b/lib/dpkg/ehandle.c
@@ -500,7 +500,7 @@ do_internerr(const char *file, int line, const char *func, 
const char *fmt, ...)
   error_context_errmsg_format(fmt, args);
   va_end(args);
 
-  fprintf(stderr, "%s%s:%s:%d:%s:%s %s%s:%s %s\n", color_get(COLOR_PROG),
+  fprintf(stderr, "%s%s:%s:%d:%s():%s %s%s:%s %s\n", color_get(COLOR_PROG),
           dpkg_get_progname(), file, line, func, color_reset(),
           color_get(COLOR_ERROR), _("internal error"), color_reset(),
           econtext->errmsg);

-- 
Dpkg.Org's dpkg

Reply via email to