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:
Aurelien Jarno 2009-12-19 20:28:23 +01:00
parent f9e69bd9cf
commit 49995e1748

View file

@ -2589,7 +2589,7 @@ static int elf_core_dump(int signr, const CPUState *env)
*/
error = copy_from_user(page, addr, sizeof (page));
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);
errno = -error;
goto out;