Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2011 14:37:42 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228628 - head/usr.bin/gprof
Message-ID:  <201112171437.pBHEbgFI063099@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
     }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112171437.pBHEbgFI063099>