summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2012-08-20 16:01:37 +0000
committerchristos <christos@NetBSD.org>2012-08-20 16:01:37 +0000
commit5da432fcdaa77d7db059dfe71b7443153be4d95e (patch)
tree39a9856bd8750e89e34fb27d9b107e0d2dda8087 /sys/netinet
parentb10cccad6c747f6a7c197578e6b82bceea02e836 (diff)
make this compile.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_carp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index a92aff4ca00..d8a004f74ce 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_carp.c,v 1.49 2012/08/20 14:14:32 bouyer Exp $ */
+/* $NetBSD: ip_carp.c,v 1.50 2012/08/20 16:01:37 christos Exp $ */
/* $OpenBSD: ip_carp.c,v 1.113 2005/11/04 08:11:54 mcbride Exp $ */
/*
@@ -30,7 +30,7 @@
#include "opt_inet.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.49 2012/08/20 14:14:32 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.50 2012/08/20 16:01:37 christos Exp $");
/*
* TODO:
@@ -2019,7 +2019,7 @@ carp_ioctl(struct ifnet *ifp, u_long cmd, void *data)
break;
case SIOCSIFCAP:
- if ((error = ifioctl_common(ifp, cmd, addr)) == ENETRESET)
+ if ((error = ifioctl_common(ifp, cmd, data)) == ENETRESET)
error = 0;
break;