commit | 707a6dfb2b8429b3d361c8c884ada48ebae6f1e4 | [log] [tgz] |
---|---|---|
author | Eugene Uriev <eugeneuriev@gmail.com> | Sun Mar 31 23:03:27 2024 +0300 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 12 16:23:06 2024 -0600 |
tree | 4259f0c2b7b474417e8750fa8a36c2261200a73a | |
parent | a0ff152d4f336e0c205f5d27e33181a60156ee43 [diff] [blame] |
mcheck: let mcheck_abortfunc_t print the pointer Signed-off-by: Eugene Uriev <eugeneuriev@gmail.com>
diff --git a/include/mcheck.h b/include/mcheck.h index f4c9b7e..bd506ae 100644 --- a/include/mcheck.h +++ b/include/mcheck.h
@@ -29,7 +29,7 @@ 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);