diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-09-18 09:53:20 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-09-18 09:53:20 +0200 |
commit | 171aafcc229b0b2d1fb058d09eb4170008f91eb6 (patch) | |
tree | 0b4da58f9a680ed5e6bc505ac495e9a3decf24a8 | |
parent | 8556b8dae158c631725184a9243c3493af15c8b6 (diff) | |
download | plan9front-171aafcc229b0b2d1fb058d09eb4170008f91eb6.tar.xz |
faces: fix callerpc for realloctag in erealloc (thanks qrstuv)
-rw-r--r-- | sys/src/cmd/faces/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/faces/util.c b/sys/src/cmd/faces/util.c index bde1ef30c..1caaae262 100644 --- a/sys/src/cmd/faces/util.c +++ b/sys/src/cmd/faces/util.c @@ -26,7 +26,7 @@ erealloc(void *v, ulong sz) fprint(2, "out of memory allocating %ld\n", sz); exits("mem"); } - setrealloctag(v, getcallerpc(&sz)); + setrealloctag(v, getcallerpc(&v)); return v; } |