summaryrefslogtreecommitdiff
path: root/usr.sbin/faithd
diff options
context:
space:
mode:
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");
}