public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a93bf46
)
fixed minor bug: report on used memory was wrong
author
ceriel
<none@none>
Fri, 15 Apr 1988 16:05:05 +0000
(16:05 +0000)
committer
ceriel
<none@none>
Fri, 15 Apr 1988 16:05:05 +0000
(16:05 +0000)
util/ncgg/output.c
patch
|
blob
|
history
diff --git
a/util/ncgg/output.c
b/util/ncgg/output.c
index
0b0f546
..
b836f45
100644
(file)
--- a/
util/ncgg/output.c
+++ b/
util/ncgg/output.c
@@
-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);
}