summaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorLei Li <lilei@linux.vnet.ibm.com>2013-05-20 17:20:50 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2013-06-01 14:25:38 +0400
commitd2d6b8576ccf0de429fb96ea6ab9669d8e916085 (patch)
treedc45c96c7b5523415d924b2caeef91a9994a7284 /linux-user/syscall.c
parentcbc8d595ef21635b630dd1cad54eb730ae6620a1 (diff)
downloadqemu-d2d6b8576ccf0de429fb96ea6ab9669d8e916085.tar.gz
linux-user: Fix typo in comment
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com> Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 1b3c0ed5f7..0099d64a9c 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);