summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-09-12 19:57:15 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2013-09-20 20:09:24 +0400
commit6f20f55bccdead8e68c753093f3af6a74cbba883 (patch)
treea4ce991de008ff6723a92509dd8b904dbb3eb7d4 /linux-user
parent2b7be8c8f5cecf936b7269ad1664361eee344842 (diff)
downloadqemu-6f20f55bccdead8e68c753093f3af6a74cbba883.tar.gz
qemu-6f20f55bccdead8e68c753093f3af6a74cbba883.tar.bz2
qemu-6f20f55bccdead8e68c753093f3af6a74cbba883.zip
*-user: Improve documentation for lock_user function
Add a missing "function" and replace "and" by "any". BSD and Linux use the same documentation here, so fix both. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/qemu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 4422dfc47a..617cac1775 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -380,9 +380,9 @@ abi_long copy_from_user(void *hptr, abi_ulong gaddr, size_t len);
abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len);
/* Functions for accessing guest memory. The tget and tput functions
- read/write single values, byteswapping as necessary. The lock_user
+ read/write single values, byteswapping as necessary. The lock_user function
gets a pointer to a contiguous area of guest memory, but does not perform
- and byteswapping. lock_user may return either a pointer to the guest
+ any byteswapping. lock_user may return either a pointer to the guest
memory, or a temporary buffer. */
/* Lock an area of guest memory into the host. If copy is true then the