diff options
author | 2015-01-21 13:47:45 +0000 | |
---|---|---|
committer | 2015-01-21 13:47:45 +0000 | |
commit | 9c0a6fc0ac67d853fd5324b259bbc555d725a5c0 (patch) | |
tree | 0a79c9f48a8d2d0db8232e0c8f156adbfce977e0 | |
parent | In options-table.c r1.51 an extra space was added to the default status-right, (diff) | |
download | wireguard-openbsd-9c0a6fc0ac67d853fd5324b259bbc555d725a5c0.tar.xz wireguard-openbsd-9c0a6fc0ac67d853fd5324b259bbc555d725a5c0.zip |
Ubreak the tree by using "struct ifreq" instead of "struct linux_ifreq".
-rw-r--r-- | sys/compat/linux/linux_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: |