aboutsummaryrefslogtreecommitdiffstats
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix.c b/unix.c
index 75ffcf95..0aaf505a 100644
--- a/unix.c
+++ b/unix.c
@@ -196,9 +196,9 @@ static void sighandler( int signal )
while( ( pid = waitpid( 0, &st, WNOHANG ) ) > 0 )
{
if( WIFSIGNALED( st ) )
- log_message( LOGLVL_INFO, "Client %d terminated normally. (status = %d)", pid, WEXITSTATUS( st ) );
+ log_message( LOGLVL_INFO, "Client %d terminated normally. (status = %d)", (int) pid, WEXITSTATUS( st ) );
else if( WIFEXITED( st ) )
- log_message( LOGLVL_INFO, "Client %d killed by signal %d.", pid, WTERMSIG( st ) );
+ log_message( LOGLVL_INFO, "Client %d killed by signal %d.", (int) pid, WTERMSIG( st ) );
}
}
else if( signal != SIGPIPE )