summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfctl
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2009-06-06 07:31:26 +0000
committereric <eric@openbsd.org>2009-06-06 07:31:26 +0000
commit7b4c0c10abd10a544c6d139242854008f1b6963a (patch)
tree2e18c85313bba2f366d7bebb2df210362f3c1c9f /usr.sbin/ospfctl
parentuse BUS_DMA_ZERO instead of alloc + bzero. (diff)
downloadwireguard-openbsd-7b4c0c10abd10a544c6d139242854008f1b6963a.tar.xz
wireguard-openbsd-7b4c0c10abd10a544c6d139242854008f1b6963a.zip
sync ospfctl/ospfd with the common imsg code, making it lib ready as well.
"looks ok" claudio@
Diffstat (limited to 'usr.sbin/ospfctl')
-rw-r--r--usr.sbin/ospfctl/ospfctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 9af336ba8b0..99a4ad8fc89 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.47 2009/06/05 21:19:11 pyr Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.48 2009/06/06 07:31:26 eric Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -125,7 +125,7 @@ main(int argc, char *argv[])
if ((ibuf = malloc(sizeof(struct imsgbuf))) == NULL)
err(1, NULL);
- imsg_init(ibuf, ctl_sock, NULL);
+ imsg_init(ibuf, ctl_sock);
done = 0;
/* process user request */