diff options
author | charnier <charnier@FreeBSD.org> | 1997-07-15 08:04:40 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-07-15 08:04:40 +0000 |
commit | f673b0ac7c8bbe04c846001f8eb8ec36d51f6e03 (patch) | |
tree | 0b2be87b34fba635ab6a7015cac9a89fe79c2304 /usr.bin/gprof | |
parent | f2a897ade1515c71fddbefaa1d4c0cd22287fba2 (diff) | |
download | FreeBSD-src-f673b0ac7c8bbe04c846001f8eb8ec36d51f6e03.zip FreeBSD-src-f673b0ac7c8bbe04c846001f8eb8ec36d51f6e03.tar.gz |
Revert to original style.
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r-- | usr.bin/gprof/arcs.c | 8 | ||||
-rw-r--r-- | usr.bin/gprof/gprof.c | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/usr.bin/gprof/arcs.c b/usr.bin/gprof/arcs.c index db39a5a..6a7b17e 100644 --- a/usr.bin/gprof/arcs.c +++ b/usr.bin/gprof/arcs.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)arcs.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: arcs.c,v 1.3 1997/07/10 06:45:00 charnier Exp $"; + "$Id: arcs.c,v 1.4 1997/07/11 06:11:35 charnier Exp $"; #endif /* not lint */ #include <err.h> @@ -379,7 +379,8 @@ cyclelink() */ cyclenl = (nltype *) calloc( ncycle + 1 , sizeof( nltype ) ); if ( cyclenl == 0 ) { - warnx("no room for %d bytes of cycle headers", (ncycle+1)*sizeof(nltype) ); + warnx("no room for %d bytes of cycle headers", + ( ncycle + 1 ) * sizeof( nltype ) ); done(); } /* @@ -482,7 +483,8 @@ cycleanalyze() done = FALSE; cyclestack = (arctype **) calloc( size + 1 , sizeof( arctype *) ); if ( cyclestack == 0 ) { - warnx("no room for %d bytes of cycle stack", (size+1)*sizeof(arctype *) ); + warnx("no room for %d bytes of cycle stack", + ( size + 1 ) * sizeof( arctype * ) ); return; } # ifdef DEBUG diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c index eba73ad..6ad9962 100644 --- a/usr.bin/gprof/gprof.c +++ b/usr.bin/gprof/gprof.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)gprof.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: gprof.c,v 1.5 1997/07/10 06:45:00 charnier Exp $"; #endif /* not lint */ #include <err.h> @@ -350,7 +350,8 @@ gettextspace( nfile ) } textspace = (u_char *) malloc( xbuf.a_text ); if ( textspace == 0 ) { - warnx("ran out room for %d bytes of text space: can't do -c" , xbuf.a_text ); + warnx("ran out room for %d bytes of text space: can't do -c" , + xbuf.a_text ); return; } (void) fseek( nfile , N_TXTOFF( xbuf ) , 0 ); |