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:
parent
f9e69bd9cf
commit
49995e1748
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user