c402d17e09
- fix update_fit.sh script if wc -c is 40 - fix stale tbs after mmap OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=64
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From 4f9265c70768aa4ad8bd13ad744a1a93ed536877 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Graf <agraf@suse.de>
|
|
Date: Mon, 12 Mar 2012 16:04:21 +0100
|
|
Subject: [PATCH] XXX linux-user: /proc/self/maps: fix compile for ppc64abi32
|
|
|
|
---
|
|
linux-user/syscall.c | 6 +++---
|
|
1 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
|
index f064484..980f815 100644
|
|
--- a/linux-user/syscall.c
|
|
+++ b/linux-user/syscall.c
|
|
@@ -4872,9 +4872,9 @@ static int open_self_maps(void *cpu_env, int fd)
|
|
continue;
|
|
}
|
|
if (h2g_valid(min) && h2g_valid(max)) {
|
|
- dprintf(fd, TARGET_FMT_lx "-" TARGET_FMT_lx " %c%c%c%c %08" PRIx64
|
|
- " %02x:%02x %d%s%s\n", h2g(min), h2g(max), flag_r, flag_w,
|
|
- flag_x, flag_p, offset, dev_maj, dev_min, inode,
|
|
+ dprintf(fd, TARGET_ABI_FMT_lx "-" TARGET_ABI_FMT_lx " %c%c%c%c %08"
|
|
+ PRIx64 " %02x:%02x %d%s%s\n", h2g(min), h2g(max), flag_r,
|
|
+ flag_w, flag_x, flag_p, offset, dev_maj, dev_min, inode,
|
|
path[0] ? " " : "", path);
|
|
}
|
|
}
|