mirror of
https://github.com/mii443/qemu.git
synced 2025-08-25 08:29:25 +00:00
linux-user: use TARGET_ABI_FMT_lx to print abi_ulong types
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
@ -2589,7 +2589,7 @@ static int elf_core_dump(int signr, const CPUState *env)
|
|||||||
*/
|
*/
|
||||||
error = copy_from_user(page, addr, sizeof (page));
|
error = copy_from_user(page, addr, sizeof (page));
|
||||||
if (error != 0) {
|
if (error != 0) {
|
||||||
(void) fprintf(stderr, "unable to dump " TARGET_FMT_lx "\n",
|
(void) fprintf(stderr, "unable to dump " TARGET_ABI_FMT_lx "\n",
|
||||||
addr);
|
addr);
|
||||||
errno = -error;
|
errno = -error;
|
||||||
goto out;
|
goto out;
|
||||||
|
Reference in New Issue
Block a user