[comp.bugs.4bsd] 4.3BSD "prof" bug

gwyn@smoke.BRL.MIL (Doug Gwyn ) (01/14/89)

In the source for the "prof" utility, the line
	ranoff = 2040. + 40.8*lowpc*ransca;
should be	
	ranoff = 2040. + 40.8*lowpct*ransca;

gwyn@smoke.BRL.MIL (Doug Gwyn ) (01/14/89)

The 4.3BSD source for "prof" contains the following line:
	if (lowpct >= 100)
which should be
	if (lowpct < 0 || lowpct >= 100)