diff --git a/src/dnode/src/dnodeSystem.c b/src/dnode/src/dnodeSystem.c index ad5950ab5bd5ac5b5dd055887ad59841440ad062..33ebc8b64ff3c0312c4bc0251d15714f702043fc 100644 --- a/src/dnode/src/dnodeSystem.c +++ b/src/dnode/src/dnodeSystem.c @@ -170,7 +170,7 @@ static void sigintHandler(int32_t signum, void *sigInfo, void *context) { dInfo("shut down signal is %d", signum); #ifndef WINDOWS - dInfo("sender PID:%d cmdline:%s",((siginfo_t *)sigInfo)->si_pid, taosGetCmdlineByPID(sigInfo->si_pid)); + dInfo("sender PID:%d cmdline:%s", ((siginfo_t *)sigInfo)->si_pid, taosGetCmdlineByPID(((siginfo_t *)sigInfo)->si_pid)); #endif syslog(LOG_INFO, "Shut down signal is %d", signum);