Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2001 02:17:51 -0700
From:      murray@stokely.org
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-audit@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sysinstall command.c config.c
Message-ID:  <20010923021751.A6105@windriver.com>
In-Reply-To: <20010923180124.I13390-100000@delplex.bde.org>; from bde@zeta.org.au on Sun, Sep 23, 2001 at 06:06:02PM %2B1000
References:  <200109222234.f8MMYE643596@freefall.freebsd.org> <20010923180124.I13390-100000@delplex.bde.org>

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




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