From d16752d1aec0317f71ca58b1e741afabddb41a32 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 17 Dec 2011 14:37:41 +0000 Subject: [PATCH] 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(-) diff --git a/usr.bin/gprof/aout.c b/usr.bin/gprof/aout.c index 6c59256a843b..6af02d951c11 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; }