From owner-cvs-all Sun Oct 28 18:13:19 2001 Delivered-To: cvs-all@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 0B82937B405; Sun, 28 Oct 2001 18:13:07 -0800 (PST) Received: from remote (mjacob.rdsl.lmi.net [204.182.55.51]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f9T2D5H14618; Sun, 28 Oct 2001 18:13:05 -0800 (PST) (envelope-from mjacob@feral.com) Date: Sun, 28 Oct 2001 18:13:04 -0800 (PST) From: Matthew Jacob X-X-Sender: Reply-To: To: Matthew Dillon Cc: , Subject: Re: cvs commit: src/sys/dev/streams streams.c In-Reply-To: <20011028181033.H18117-100000@remote> Message-ID: <20011028181254.Q18117-100000@remote> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > this case whether the actual dev should be a dev_t or not- the streams ^^ udev_t On Sun, 28 Oct 2001, Matthew Jacob wrote: > > Yes, I know. I actually looked at it myself a while back. I'm not sure in > this case whether the actual dev should be a dev_t or not- the streams > stuff is in a wierd state because it's uncleanly strewn between a dev set > of files and compat files. > > But the point is that I don't believe this cleans it up on alpha. Oh, > well, I'll get it if I see it. > > On Sun, 28 Oct 2001, Matthew Dillon wrote: > > > > > : > > : > > :I don't think that this works. > > :Isn't dev_t: > > : > > : typedef struct specinfo *dev_t; > > : > > :So, clearly attempts to compile this on an alpha with the cast will just > > :whine because you're coercing a pointer to an int half the size of the > > :pointer, no? > > : > > > > I dunno. This is the error: > > > > FreeBSD/FreeBSD-current/src/sys/modules/streams/../../dev/streams/streams.c: In function `svr4_delete_socket': > > /FreeBSD/FreeBSD-current/src/sys/modules/streams/../../dev/streams/streams.c:392: warning: int format, dev_t arg (arg 4) > > > > I just cast it to what the printf format arg was already expecting. > > It's just a debugging printf anyway. > > > > -Matt > > Matthew Dillon > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message