diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index 325f564f80ee12f7d79566794542d057a3cd4b96..1f8ec6ee7a0961f346381b3f7337399a615c376e 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) \ diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 6ffe5a2dec4f2e983e595a26b8a0c4a659c769cb..4422dfc47a33c1b8a7771153f07d1016fc7274fb 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -438,7 +438,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) \