summaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-09-12 19:57:41 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2013-09-20 20:09:24 +0400
commit41d1af4de44ac8729a21e4bf233d696861a3c570 (patch)
tree8d7279b1ec411bfb9eedff388d087f97ced15338 /bsd-user
parent314b5d4bb6664e236aa90a478dd1e7833a918513 (diff)
downloadqemu-41d1af4de44ac8729a21e4bf233d696861a3c570.tar.gz
qemu-41d1af4de44ac8729a21e4bf233d696861a3c570.tar.bz2
qemu-41d1af4de44ac8729a21e4bf233d696861a3c570.zip
*-user: Fix typo in comment (ulocking -> unlocking)
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 'bsd-user')
-rw-r--r--bsd-user/qemu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index 325f564f80..1f8ec6ee7a 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -381,7 +381,7 @@ static inline void *lock_user_string(abi_ulong guest_addr)
return lock_user(VERIFY_READ, guest_addr, (long)(len + 1), 1);
}
-/* Helper macros for locking/ulocking a target struct. */
+/* Helper macros for locking/unlocking a target struct. */
#define lock_user_struct(type, host_ptr, guest_addr, copy) \
(host_ptr = lock_user(type, guest_addr, sizeof(*host_ptr), copy))
#define unlock_user_struct(host_ptr, guest_addr, copy) \