]> source.dussan.org Git - rspamd.git/commitdiff
Update src/libserver/worker_util.c
authorLinus Nordberg <linus@nordberg.se>
Sat, 9 Sep 2023 18:30:04 +0000 (18:30 +0000)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 18:30:04 +0000 (18:30 +0000)
Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
src/libserver/worker_util.c

index 17e1dd65c6c7098940f056869423063f8bd98704..8653cb25a31d12b901c9684c5ad6c639ecf3e961 100644 (file)
@@ -1639,8 +1639,8 @@ rspamd_print_crash(ucontext_t *uap)
                ret = unw_get_proc_name(&cursor, name, sizeof(name), &off);
 
                if (ret == 0) {
-                       msg_err("%d: %ul: %s()+0x%xl",
-                                       level, ip, name, (uintptr_t) off);
+                       msg_err("%d: 0x%xl: %s()+0x%xl",
+                                       level, (unsigned long)ip, name, (unsigned long)off);
                }
                else {
                        msg_err("%d: %ul: <unknown>", level, ip);