From: mpi Date: Wed, 21 Jan 2015 13:47:45 +0000 (+0000) Subject: Ubreak the tree by using "struct ifreq" instead of "struct linux_ifreq". X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9c0a6fc0ac67d853fd5324b259bbc555d725a5c0;p=openbsd Ubreak the tree by using "struct ifreq" instead of "struct linux_ifreq". --- diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index 229ece21171..4adc69e31c3 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_socket.c,v 1.58 2015/01/21 02:23:14 guenther Exp $ */ +/* $OpenBSD: linux_socket.c,v 1.59 2015/01/21 13:47:45 mpi Exp $ */ /* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */ /* @@ -1492,7 +1492,7 @@ out: error = sys_ioctl(p, &ia, retval); if (error == 0) { - struct linux_ifreq *ifr = data; + struct ifreq *ifr = data; switch (com) { case LINUX_SIOCGIFADDR: