Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 1997 19:14:59 +0930
From:      Mike Smith <mike@smith.net.au>
To:        Poul-Henning Kamp <phk@dk.tfs.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: LINT compile failure... 
Message-ID:  <199708220944.TAA01034@word.smith.net.au>
In-Reply-To: Your message of "Fri, 22 Aug 1997 10:47:43 %2B0200." <1556.872239663@critter.dk.tfs.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> .../../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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708220944.TAA01034>