Fixed misapplied patch in rev.1.2. A loop continuation test was outside

the loop.  This usually caused most of the output to be skipped.
This commit is contained in:
Bruce Evans 1997-01-14 10:30:45 +00:00
parent a564e85582
commit 48ee759d59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21678

View File

@ -81,9 +81,9 @@ main()
kvm_read(kv,bb.addr, addr, bb.ncounts * sizeof addr[0]);
kvm_read(kv,bb.file, file, bb.ncounts * sizeof file[0]);
kvm_read(kv,bb.func, func, bb.ncounts * sizeof func[0]);
for (i=0; i < bb.ncounts; i++) {
if (!counts[i])
continue;
for (i=0; i < bb.ncounts; i++) {
if (!pn[i] && func[i]) {
kvm_read(kv,func[i], buf, sizeof buf);
buf[sizeof buf -1] = 0;