svn commit: r228628 - head/usr.bin/gprof

Dimitry Andric dim at FreeBSD.org
Sat Dec 17 14:37:42 UTC 2011


Author: dim
Date: Sat Dec 17 14:37:41 2011
New Revision: 228628
URL: http://svn.freebsd.org/changeset/base/228628

Log:
  In usr.bin/gprof/aout.c, use the correct printf length modifier for a
  uint32_t.
  
  MFC after:	1 week

Modified:
  head/usr.bin/gprof/aout.c

Modified: head/usr.bin/gprof/aout.c
==============================================================================
--- head/usr.bin/gprof/aout.c	Sat Dec 17 14:26:16 2011	(r228627)
+++ head/usr.bin/gprof/aout.c	Sat Dec 17 14:37:41 2011	(r228628)
@@ -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;
     }


More information about the svn-src-head mailing list