Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2000 21:03:22 +0800
From:      Clive Lin <clive@CirX.ORG>
To:        current@freebsd.org
Subject:   small error in linux_ioctl.c
Message-ID:  <20001102210321.A43269@cartier.cirx.org>

next in thread | raw e-mail | index | archive | help

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

    Cvsuped today from cvsup8, there might a small error in
/usr/src/sys/compat/linux/linux_ioctl.c ...

    Building linux module is ok, but broken if I want a statically
build in the kernel. (the options COMPAT_LINUX in kernel config file)

    By removing the line 60 (see the patch attached), both linux
module and statically build are all fine on i386 platform.

-- 
CirX - This site doesnt' exist.
9c  k9o h9 s1bg s1f=, 7v  .y xqx a  sj m8r ffg1 vg5 a6 asox tmul h38 =. 
ant sj m8r ob =? 1fj mwby a1 tao vg5 =. soq df v ' .a. CirX=. 

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="linux_ioctl.c.diff"

--- linux_ioctl.c~	Thu Nov  2 17:10:56 2000
+++ linux_ioctl.c	Thu Nov  2 20:38:26 2000
@@ -57,7 +57,6 @@
 #include <machine/../linux/linux_proto.h>
 #endif
 
-#include <linux_proto.h>
 #ifdef __alpha__
 #include <machine/../linux/linux_ioctl.h>
 #else

--J2SCkAp4GZ/dPZZf--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001102210321.A43269>