Module Name:    src
Committed By:   christos
Date:           Mon Aug 20 16:01:37 UTC 2012

Modified Files:
        src/sys/netinet: ip_carp.c

Log Message:
make this compile.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/netinet/ip_carp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/ip_carp.c
diff -u src/sys/netinet/ip_carp.c:1.49 src/sys/netinet/ip_carp.c:1.50
--- src/sys/netinet/ip_carp.c:1.49	Mon Aug 20 10:14:32 2012
+++ src/sys/netinet/ip_carp.c	Mon Aug 20 12:01:37 2012
@@ -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
 		break;
 
 	case SIOCSIFCAP:
-		if ((error = ifioctl_common(ifp, cmd, addr)) == ENETRESET)
+		if ((error = ifioctl_common(ifp, cmd, data)) == ENETRESET)
 			error = 0;
 		break;
 

Reply via email to