From 097c3ea059fc34bde530021e7b6b45955ffc0a48 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Mon, 19 Apr 2021 15:57:08 +0300 Subject: [PATCH] mdbx-test: fix minor Solaris/SunOS warnings. --- test/osal-unix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/osal-unix.cc b/test/osal-unix.cc index b2c78156..33f67d5d 100644 --- a/test/osal-unix.cc +++ b/test/osal-unix.cc @@ -536,12 +536,12 @@ int osal_actor_poll(mdbx_pid_t &pid, unsigned timeout) { case SIGFPE: case SIGILL: case SIGSEGV: - log_notice("child pid %u terminated by SIG%s", pid, + log_notice("child pid %lu terminated by SIG%s", (long)pid, signal_name(WTERMSIG(status))); children[pid] = as_coredump; break; default: - log_notice("child pid %u killed by SIG%s", pid, + log_notice("child pid %lu killed by SIG%s", (long)pid, signal_name(WTERMSIG(status))); children[pid] = as_killed; }