From 3e7d833c6a2852286e13b7bbd485712f79f77f55 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 17 Dec 2011 14:37:41 +0000 Subject: In usr.bin/gprof/aout.c, use the correct printf length modifier for a uint32_t. MFC after: 1 week --- usr.bin/gprof/aout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/gprof/aout.c b/usr.bin/gprof/aout.c index 6c59256..6af02d9 100644 --- a/usr.bin/gprof/aout.c +++ b/usr.bin/gprof/aout.c @@ -175,7 +175,7 @@ gettextspace(FILE *nfile) textspace = (u_char *) malloc( xbuf.a_text ); if ( textspace == 0 ) { - warnx("no room for %lu bytes of text space: can't do -c" , + warnx("no room for %u bytes of text space: can't do -c" , xbuf.a_text ); return; } -- cgit v1.1