summaryrefslogtreecommitdiff
path: root/usr.sbin/faithd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-26 01:21:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-26 01:21:13 +0000
commit0eb5bf872087d10dc67b98421ccddbadd0461f8b (patch)
tree02fc6ba809692449c2c0f248289a437f4f83ddd2 /usr.sbin/faithd
parentbb034878f7ad38088dc2a0533ad4990f6ce5575d (diff)
pid_t cleanup; itojun ok
Diffstat (limited to 'usr.sbin/faithd')
-rw-r--r--usr.sbin/faithd/faithd.c4
-rw-r--r--usr.sbin/faithd/tcp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c
index 0ce09b3719a..cbfbb09faff 100644
--- a/usr.sbin/faithd/faithd.c
+++ b/usr.sbin/faithd/faithd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: faithd.c,v 1.19 2002/05/09 14:12:17 itojun Exp $ */
+/* $OpenBSD: faithd.c,v 1.20 2002/05/26 01:21:12 deraadt Exp $ */
/* $KAME: faithd.c,v 1.50 2002/05/09 14:06:52 itojun Exp $ */
/*
@@ -765,7 +765,7 @@ sig_child(int sig)
while ((pid = wait3(&status, WNOHANG, (struct rusage *)0)) > 0) {
if (pid && WEXITSTATUS(status))
syslog_r(LOG_WARNING, &sdata,
- "child %d exit status 0x%x", pid, status);
+ "child %ld exit status 0x%x", (long)pid, status);
}
errno = save_errno;
diff --git a/usr.sbin/faithd/tcp.c b/usr.sbin/faithd/tcp.c
index 86058322b43..3f2b76ee4a6 100644
--- a/usr.sbin/faithd/tcp.c
+++ b/usr.sbin/faithd/tcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp.c,v 1.10 2002/02/16 21:28:02 millert Exp $ */
+/* $OpenBSD: tcp.c,v 1.11 2002/05/26 01:21:12 deraadt Exp $ */
/* $KAME: tcp.c,v 1.6 2001/07/02 14:36:49 itojun Exp $ */
/*
@@ -99,7 +99,7 @@ sig_child(int sig)
pid = wait3(&status, WNOHANG, (struct rusage *)0);
if (pid > 0 && WEXITSTATUS(status))
syslog_r(LOG_WARNING, &sdata,
- "child %d exit status 0x%x", pid, status);
+ "child %ld exit status 0x%x", (long)pid, status);
exit_success("terminate connection due to child termination");
}