From owner-freebsd-hackers Sun May 18 14:14:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA12839 for hackers-outgoing; Sun, 18 May 1997 14:14:26 -0700 (PDT) Received: from lattice.milk.it (line08.globalnet.it [194.185.53.40]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA12830 for ; Sun, 18 May 1997 14:14:10 -0700 (PDT) Received: from localhost (ssigala@localhost) by lattice.milk.it (8.8.4/8.8.4) with SMTP id XAA00224; Sun, 18 May 1997 23:06:06 +0200 (CEST) X-Authentication-Warning: lattice.milk.it: ssigala owned process doing -bs Date: Sun, 18 May 1997 23:06:05 +0200 (CEST) From: S Sigala X-Sender: ssigala@lattice.milk.it To: pseudo-device bpfilter cc: freebsd-hackers@FreeBSD.ORG Subject: Re: NEW SCREENSAVER: "the daemon is jumpin' around" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 18 May 1997, pseudo-device bpfilter wrote: > > Warning: Object directory not changed from original > /usr/src/lkm/syscons/daemon > cc -O -DLKM -I/usr/src/lkm/syscons/daemon/.. > -I/usr/src/lkm/syscons/daemon/../../../sys -I. -DKERNEL > -DACTUALLY_LKM_NOT_KERNEL -I/usr/src/lkm/syscons/daemon/../../sys > -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -c > daemon_saver.c > daemon_saver.c:212: macro `DISPATCH' used with only 6 args > *** Error code 1 > > Stop. > # > > Any ideas? Seem like i am not so -current... anyway this should fix the problem: --- daemon_saver.c~ Sun May 18 15:19:41 1997 +++ daemon_saver.c Sun May 18 23:03:32 1997 @@ -208,6 +208,6 @@ int daemon_saver_mod(struct lkm_table *lkmtp, int cmd, int ver) { - DISPATCH(lkmtp, cmd, ver, daemon_saver_load, daemon_saver_unload, - lkm_nullcmd); + MOD_DISPATCH(daemon_saver, lkmtp, cmd, ver, + daemon_saver_load, daemon_saver_unload, lkm_nullcmd); } Regards, -sandro