summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/aout.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gprof/aout.c')
-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 6af02d9..f64d672 100644
--- a/usr.bin/gprof/aout.c
+++ b/usr.bin/gprof/aout.c
@@ -134,7 +134,7 @@ getsymtab(FILE *nfile, const char *filename)
askfor = nname + 1;
nl = (nltype *) calloc( askfor , sizeof(nltype) );
if (nl == 0)
- errx( 1 , "no room for %d bytes of symbol table" ,
+ errx( 1 , "no room for %zu bytes of symbol table" ,
askfor * sizeof(nltype) );
/* pass2 - read symbols */
OpenPOWER on IntegriCloud