From owner-freebsd-hackers Sat May 6 22:44:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 48FC637B67D for ; Sat, 6 May 2000 22:44:55 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA38807; Sat, 6 May 2000 23:44:53 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA68628; Sat, 6 May 2000 23:44:43 -0600 (MDT) Message-Id: <200005070544.XAA68628@harmony.village.org> To: Alexander Langer Subject: Re: problem with ioctl handler in a module Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Sat, 06 May 2000 20:09:40 +0200." <20000506200940.A8087@cichlids.cichlids.com> References: <20000506200940.A8087@cichlids.cichlids.com> Date: Sat, 06 May 2000 23:44:43 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000506200940.A8087@cichlids.cichlids.com> Alexander Langer writes: : Anyone knows, what I'm doing wrong? 10 is not a valid ioctl number. You gotta use the _IO* macros to construct one that does the copyin/copyout as needed. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message