From owner-freebsd-hackers Mon Dec 11 9: 3: 7 2000 From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 11 09:03:05 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 0D0DF37B404 for ; Mon, 11 Dec 2000 09:03:05 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id SAA56230; Mon, 11 Dec 2000 18:03:01 +0100 (CET) (envelope-from des@ofug.org) Sender: des@ofug.org X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Peter Pentchev Cc: hackers@FreeBSD.ORG Subject: Re: eye-candy hack - warp_saver changing direction :) References: <20001211161847.A606@ringworld.oblivion.bg> <20001211180346.C606@ringworld.oblivion.bg> <20001211185524.E606@ringworld.oblivion.bg> From: Dag-Erling Smorgrav Date: 11 Dec 2000 18:03:00 +0100 In-Reply-To: Peter Pentchev's message of "Mon, 11 Dec 2000 18:55:24 +0200" Message-ID: Lines: 13 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev writes: > SYSCTL_DECL(_kern_saver); SYSCTL_DECL is for declaring a node that's defined elsewhere. You should use the following instead: SYSCTL_NODE(_kern, OID_AUTO, saver, CTLFLAG_RW, NULL, "Screensavers"); There's no substitute for reading src/sys/sys/sysctl.h. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message