aboutsummaryrefslogtreecommitdiff
path: root/include/mcheck.h
diff options
context:
space:
mode:
authorEugene Uriev2024-03-31 23:03:27 +0300
committerTom Rini2024-04-12 16:23:06 -0600
commit707a6dfb2b8429b3d361c8c884ada48ebae6f1e4 (patch)
tree4259f0c2b7b474417e8750fa8a36c2261200a73a /include/mcheck.h
parenta0ff152d4f336e0c205f5d27e33181a60156ee43 (diff)
mcheck: let mcheck_abortfunc_t print the pointer
Signed-off-by: Eugene Uriev <eugeneuriev@gmail.com>
Diffstat (limited to 'include/mcheck.h')
-rw-r--r--include/mcheck.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mcheck.h b/include/mcheck.h
index f4c9b7e61c8..bd506ae6291 100644
--- a/include/mcheck.h
+++ b/include/mcheck.h
@@ -29,7 +29,7 @@ enum mcheck_status {
MCHECK_TAIL /* Memory after the block was clobbered. */
};
-typedef void (*mcheck_abortfunc_t)(enum mcheck_status);
+typedef void (*mcheck_abortfunc_t)(enum mcheck_status, const void *p);
int mcheck(mcheck_abortfunc_t func);