ref: 3b48c49025b592ef59724e864e0c01d03680b070
parent: bf7d857ba8ddf36e9433ccffa2ed01136c003cd7
author: Ori Bernstein <ori@eigenstate.org>
date: Mon May 1 10:45:30 EDT 2023
blkalloc: use correct callerpc arg
--- a/blk.c
+++ b/blk.c
@@ -770,7 +770,7 @@
r->nbuf = b->nbuf;
r->bufsz = b->bufsz;
r->logsz = b->logsz;
- r->alloced = getcallerpc(&b);
+ r->alloced = getcallerpc(&t);
memcpy(r->buf, b->buf, sizeof(r->buf));
return r;
}