summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-01-21 13:47:45 +0000
committermpi <mpi@openbsd.org>2015-01-21 13:47:45 +0000
commit9c0a6fc0ac67d853fd5324b259bbc555d725a5c0 (patch)
tree0a79c9f48a8d2d0db8232e0c8f156adbfce977e0
parentIn options-table.c r1.51 an extra space was added to the default status-right, (diff)
downloadwireguard-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.c4
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: