diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-29 17:08:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-29 17:08:00 +0000 |
commit | 728d20f0b5847190366b286bb8e65c4ed54298d1 (patch) | |
tree | 9c0be964afc07187aa0562413cf48143aef1516a /sbin | |
parent | 102c179e900fd62a574f22b2c99eef03d7fc70d3 (diff) |
use malloc (oops)
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c index f6e9e67f0c7..8ad17ad3ebb 100644 --- a/sbin/isakmpd/monitor.c +++ b/sbin/isakmpd/monitor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.15 2004/03/29 16:32:47 deraadt Exp $ */ +/* $OpenBSD: monitor.c,v 1.16 2004/03/29 17:07:59 deraadt Exp $ */ /* * Copyright (c) 2003 Håkan Olsson. All rights reserved. @@ -548,7 +548,7 @@ monitor_loop (int debugging) maxfd = m_state.s + 1; fdsn = howmany (maxfd, NFDBITS) * sizeof (fd_mask); - fds = (fd_set *)calloc (fdsn); + fds = (fd_set *)malloc (fdsn); if (!fds) { kill (m_state.pid, SIGTERM); |