Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/compat/linux/common Pull up revision 1.29 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/a3c12af2d184
branches:  netbsd-1-5
changeset: 491031:a3c12af2d184
user:      he <he%NetBSD.org@localhost>
date:      Fri Mar 30 22:44:19 2001 +0000

description:
Pull up revision 1.29 (requested by fvdl):
  Fix the SIOCGETHWADDR socket ioctl call; earlier it always returned
  an error.

diffstat:

 sys/compat/linux/common/linux_socket.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d2427249b90e -r a3c12af2d184 sys/compat/linux/common/linux_socket.c
--- a/sys/compat/linux/common/linux_socket.c    Fri Mar 30 22:42:33 2001 +0000
+++ b/sys/compat/linux/common/linux_socket.c    Fri Mar 30 22:44:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_socket.c,v 1.24.4.1 2001/03/30 21:43:57 he Exp $ */
+/*     $NetBSD: linux_socket.c,v 1.24.4.2 2001/03/30 22:44:19 he Exp $ */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -668,6 +668,7 @@
        case LINUX_SIOCGIFHWADDR:
                error = linux_getifhwaddr(p, retval, SCARG(uap, fd),
                                         SCARG(uap, data));
+               dosys = 0;
                break;
        default:
                error = EINVAL;



Home | Main Index | Thread Index | Old Index