summaryrefslogtreecommitdiff
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-12-17 14:37:41 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-12-17 14:37:41 +0000
commitd16752d1aec0317f71ca58b1e741afabddb41a32 (patch)
tree0cde5c2506c2fb29f41805e2456ebfaabb2bb029 /usr.bin/gprof
parent8f04da68ade2996f3e65922ab2018502f41595a2 (diff)
downloadsrc-test-d16752d1aec0317f71ca58b1e741afabddb41a32.tar.gz
src-test-d16752d1aec0317f71ca58b1e741afabddb41a32.zip
In usr.bin/gprof/aout.c, use the correct printf length modifier for a
uint32_t. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=228628
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 6c59256a843bd..6af02d951c117 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;
}