In usr.bin/gprof/aout.c, use the correct printf length modifier for a
uint32_t. MFC after: 1 week
This commit is contained in:
parent
8f04da68ad
commit
d16752d1ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228628
@ -175,7 +175,7 @@ gettextspace(FILE *nfile)
|
|||||||
|
|
||||||
textspace = (u_char *) malloc( xbuf.a_text );
|
textspace = (u_char *) malloc( xbuf.a_text );
|
||||||
if ( textspace == 0 ) {
|
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 );
|
xbuf.a_text );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user