mirror of https://gitee.com/openkylin/qemu.git
bsd-user: style tweak: keyword space (
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
This commit is contained in:
parent
86545e7afe
commit
f4a1016fb3
|
@ -46,7 +46,7 @@ abi_long target_strlen(abi_ulong guest_addr1)
|
|||
int max_len, len;
|
||||
|
||||
guest_addr = guest_addr1;
|
||||
for(;;) {
|
||||
for (;;) {
|
||||
max_len = TARGET_PAGE_SIZE - (guest_addr & ~TARGET_PAGE_MASK);
|
||||
ptr = lock_user(VERIFY_READ, guest_addr, max_len, 1);
|
||||
if (!ptr)
|
||||
|
|
Loading…
Reference in New Issue