Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 18:11:55 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        <cvs-committers@FreeBSD.ORG>, <cvs-all@FreeBSD.ORG>
Subject:   Re: cvs commit: src/sys/dev/streams streams.c
Message-ID:  <20011028181033.H18117-100000@remote>
In-Reply-To: <200110290146.f9T1ks130312@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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
> 					<dillon@backplane.com>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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