fixed minor bug: report on used memory was wrong
This commit is contained in:
parent
a93bf46382
commit
09ed33d12d
|
@ -877,5 +877,5 @@ statistics() {
|
|||
used("Pat bytes",npatbytes+1,MAXPATBYTES);
|
||||
if (tabledebug)
|
||||
used("Source lines",maxline,MAXSOURCELINES);
|
||||
fprintf(stderr,"%ldK heap used\n",((long) (sbrk(0)-end+1023))/1024);
|
||||
fprintf(stderr,"%ldK heap used\n",((long) (sbrk(0)-(char *) &end+1023))/1024);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue