summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-10 18:34:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-10 18:34:16 +0000
commitc084fe462b18f30d5b08280ade567780fae43e08 (patch)
tree51e95612a52031c90477affb9d16ec3a6896650d /sbin
parent5909fef5c4f5bbcaf854d69ad042a2a656b5b8a4 (diff)
64bit gcc saw missing cast
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/monitor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c
index 7afaa27c2df..a1604bb493f 100644
--- a/sbin/isakmpd/monitor.c
+++ b/sbin/isakmpd/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.19 2004/04/15 18:39:26 deraadt Exp $ */
+/* $OpenBSD: monitor.c,v 1.20 2004/05/10 18:34:15 deraadt Exp $ */
/*
* Copyright (c) 2003 Håkan Olsson. All rights reserved.
@@ -525,7 +525,8 @@ monitor_loop(int debugging)
fds = (fd_set *) malloc(fdsn);
if (!fds) {
kill(m_state.pid, SIGTERM);
- log_fatal("monitor_loop: malloc (%u) failed", fdsn);
+ log_fatal("monitor_loop: malloc (%lu) failed",
+ (unsigned long)fdsn);
return;
}
/* If the child dies, we should shutdown also. */