mdbx-test: fix minor Solaris/SunOS warnings.

This commit is contained in:
Leonid Yuriev 2021-04-19 15:57:08 +03:00
parent 7a0d6c6196
commit 097c3ea059

View File

@ -536,12 +536,12 @@ int osal_actor_poll(mdbx_pid_t &pid, unsigned timeout) {
case SIGFPE: case SIGFPE:
case SIGILL: case SIGILL:
case SIGSEGV: 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))); signal_name(WTERMSIG(status)));
children[pid] = as_coredump; children[pid] = as_coredump;
break; break;
default: 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))); signal_name(WTERMSIG(status)));
children[pid] = as_killed; children[pid] = as_killed;
} }