From owner-freebsd-current Fri Aug 22 02:47:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA28497 for current-outgoing; Fri, 22 Aug 1997 02:47:52 -0700 (PDT) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA28491 for ; Fri, 22 Aug 1997 02:47:41 -0700 (PDT) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id TAA01034; Fri, 22 Aug 1997 19:14:59 +0930 (CST) Message-Id: <199708220944.TAA01034@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Poul-Henning Kamp cc: current@FreeBSD.ORG Subject: Re: LINT compile failure... In-reply-to: Your message of "Fri, 22 Aug 1997 10:47:43 +0200." <1556.872239663@critter.dk.tfs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 22 Aug 1997 19:14:59 +0930 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > .../../dev/ppbus/nlpt.c:370: `sc' undeclared (first use this function) > .../../dev/ppbus/nlpt.c:370: (Each undeclared identifier is reported only once > .../../dev/ppbus/nlpt.c:370: for each function it appears in.) > .../../dev/ppbus/nlpt.c:371: `unit' undeclared (first use this function) > *** Error code 1 (continuing) > `kernel' not remade because of errors. The CVS repo is undergoing open-heart bypass surgery. Here's a diff; if you don't hit it, I will tomorrow : --- nlpt.c.old Fri Aug 22 19:12:58 1997 +++ nlpt.c Fri Aug 22 19:13:32 1997 @@ -367,10 +367,10 @@ #ifdef DEVFS /* XXX what to do about the flags in the minor number? */ - sc->devfs_token = devfs_add_devswf(&nlpt_cdevsw, + lpt->devfs_token = devfs_add_devswf(&nlpt_cdevsw, unit, DV_CHR, UID_ROOT, GID_WHEEL, 0600, "nlpt%d", unit); - sc->devfs_token_ctl = devfs_add_devswf(&nlpt_cdevsw, + lpt->devfs_token_ctl = devfs_add_devswf(&nlpt_cdevsw, unit | LP_BYPASS, DV_CHR, UID_ROOT, GID_WHEEL, 0600, "lpctl%d", unit); #endif mike