summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/serverloop.c b/serverloop.c
index 38b1cf7ba..1a148fcbe 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: serverloop.c,v 1.101 2002/03/30 18:51:15 markus Exp $"); 38RCSID("$OpenBSD: serverloop.c,v 1.102 2002/06/11 05:46:20 mpech Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "packet.h" 41#include "packet.h"
@@ -674,8 +674,8 @@ server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg)
674 if (errno != EINTR) 674 if (errno != EINTR)
675 packet_disconnect("wait: %.100s", strerror(errno)); 675 packet_disconnect("wait: %.100s", strerror(errno));
676 if (wait_pid != pid) 676 if (wait_pid != pid)
677 error("Strange, wait returned pid %d, expected %d", 677 error("Strange, wait returned pid %ld, expected %ld",
678 wait_pid, pid); 678 (long)wait_pid, (long)pid);
679 679
680 /* Check if it exited normally. */ 680 /* Check if it exited normally. */
681 if (WIFEXITED(wait_status)) { 681 if (WIFEXITED(wait_status)) {