From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeMHZ-0001mX-SX for qemu-devel@nongnu.org; Mon, 20 May 2013 05:21:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeMHT-0003Bg-UJ for qemu-devel@nongnu.org; Mon, 20 May 2013 05:21:29 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:56479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeMHT-0003Ak-Ak for qemu-devel@nongnu.org; Mon, 20 May 2013 05:21:23 -0400 Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 20 May 2013 19:12:43 +1000 From: Lei Li Date: Mon, 20 May 2013 17:20:50 +0800 Message-Id: <1369041650-22056-1-git-send-email-lilei@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH] linux-user: Fix typo in comment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Lei Li Signed-off-by: Lei Li --- linux-user/syscall.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 30e93bc..72c6866 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -8236,7 +8236,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, #ifdef TARGET_NR_madvise case TARGET_NR_madvise: /* A straight passthrough may not be safe because qemu sometimes - turns private flie-backed mappings into anonymous mappings. + turns private file-backed mappings into anonymous mappings. This will break MADV_DONTNEED. This is a hint, so ignoring and returning success is ok. */ ret = get_errno(0); -- 1.7.7.6