summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socket.c
diff options
context:
space:
mode:
authorfvdl <fvdl@NetBSD.org>2001-03-29 10:37:37 +0000
committerfvdl <fvdl@NetBSD.org>2001-03-29 10:37:37 +0000
commit879b34ea8ca7e93c6eb4d618a9ee1a348bc8d578 (patch)
tree0f95f4f4a0ab9a291e9ef65abd2fbfedff664e08 /sys/compat/linux/common/linux_socket.c
parent904d063d8b2a115dab76d829b7a743bb4eb8c50c (diff)
Don't do the ioctl call for the get hw addr case, all the work has
been done already.
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
-rw-r--r--sys/compat/linux/common/linux_socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c
index 30b5b77cd67..3edd3b459f5 100644
--- a/sys/compat/linux/common/linux_socket.c
+++ b/sys/compat/linux/common/linux_socket.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socket.c,v 1.28 2001/02/05 10:42:41 chs Exp $ */
+/* $NetBSD: linux_socket.c,v 1.29 2001/03/29 10:37:37 fvdl Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -672,6 +672,7 @@ linux_ioctl_socket(p, uap, retval)
case LINUX_SIOCGIFHWADDR:
error = linux_getifhwaddr(p, retval, SCARG(uap, fd),
SCARG(uap, data));
+ dosys = 0;
break;
default:
error = EINVAL;