summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-17 14:37:41 +0000
committerdim <dim@FreeBSD.org>2011-12-17 14:37:41 +0000
commit3e7d833c6a2852286e13b7bbd485712f79f77f55 (patch)
tree0cde5c2506c2fb29f41805e2456ebfaabb2bb029 /usr.bin/gprof
parentb640df813ed53d4aa6fb85e155674f64602448c0 (diff)
downloadFreeBSD-src-3e7d833c6a2852286e13b7bbd485712f79f77f55.zip
FreeBSD-src-3e7d833c6a2852286e13b7bbd485712f79f77f55.tar.gz
In usr.bin/gprof/aout.c, use the correct printf length modifier for a
uint32_t. MFC after: 1 week
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r--usr.bin/gprof/aout.c2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud