From owner-freebsd-current Thu Nov 2 5: 3:37 2000 Delivered-To: freebsd-current@freebsd.org Received: from cartier.cirx.org (cartier.cirx.org [211.72.15.243]) by hub.freebsd.org (Postfix) with ESMTP id 4271A37B4CF for ; Thu, 2 Nov 2000 05:03:28 -0800 (PST) Received: (from clive@localhost) by cartier.cirx.org (8.11.1/8.11.1) id eA2D3MT43334 for current@freebsd.org; Thu, 2 Nov 2000 21:03:22 +0800 (CST) (envelope-from clive) Date: Thu, 2 Nov 2000 21:03:22 +0800 From: Clive Lin To: current@freebsd.org Subject: small error in linux_ioctl.c Message-ID: <20001102210321.A43269@cartier.cirx.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-key: http://freebsd.sinica.edu.tw/~clive/gpgkey.txt Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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 #endif -#include #ifdef __alpha__ #include #else --J2SCkAp4GZ/dPZZf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message