From owner-cvs-all Sun Oct 28 17:47: 1 2001 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 9ACB137B401; Sun, 28 Oct 2001 17:46:55 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id f9T1ks130312; Sun, 28 Oct 2001 17:46:54 -0800 (PST) (envelope-from dillon) Date: Sun, 28 Oct 2001 17:46:54 -0800 (PST) From: Matthew Dillon Message-Id: <200110290146.f9T1ks130312@apollo.backplane.com> To: Matthew Jacob Cc: , Subject: Re: cvs commit: src/sys/dev/streams streams.c References: <20011028172926.R17964-100000@remote> 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 : : :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