mcheck: let mcheck_abortfunc_t print the pointer

Signed-off-by: Eugene Uriev <eugeneuriev@gmail.com>
This commit is contained in:
Eugene Uriev
2024-03-31 23:03:27 +03:00
committed by Tom Rini
parent a0ff152d4f
commit 707a6dfb2b
2 changed files with 9 additions and 9 deletions

View File

@@ -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);