From owner-freebsd-audit Sun Sep 23 2:17:54 2001 Delivered-To: freebsd-audit@freebsd.org Received: from mao.stokely.org (mao.stokely.org [65.84.64.228]) by hub.freebsd.org (Postfix) with ESMTP id 5E53837B403 for ; Sun, 23 Sep 2001 02:17:52 -0700 (PDT) Received: by mao.stokely.org (Postfix, from userid 2074) id A5E864B667; Sun, 23 Sep 2001 02:17:51 -0700 (PDT) Date: Sun, 23 Sep 2001 02:17:51 -0700 From: murray@stokely.org To: Bruce Evans Cc: freebsd-audit@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall command.c config.c Message-ID: <20010923021751.A6105@windriver.com> References: <200109222234.f8MMYE643596@freefall.freebsd.org> <20010923180124.I13390-100000@delplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010923180124.I13390-100000@delplex.bde.org>; from bde@zeta.org.au on Sun, Sep 23, 2001 at 06:06:02PM +1000 X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 23, 2001 at 06:06:02PM +1000, Bruce Evans wrote: > > Silence warnings on alpha : > > > > Use '%p' when printing out the address of a function. > > sizeof(int) != sizeof(long) > > %p is for printing pointers of type "void *". It is unsuitable for > printing arbitrary pointers to objects. It is especially unsuitable > for printing pointers to functions. Hmm. What should be used instead? - Murray To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message