linux-user: use TARGET_ABI_FMT_lx to print abi_ulong types
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 19 Dec 2009 19:28:23 +0000 (20:28 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 19 Dec 2009 19:29:18 +0000 (20:29 +0100)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
linux-user/elfload.c

index f47ec1e40823230cec52b7c7b4c9f3f861fa1252..46fa51b2a8e7125d5265975acf7881408da0a723 100644 (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;