From: Warner Losh <i...@bsdimp.com> Signed-off-by: Warner Losh <i...@bsdimp.com> --- bsd-user/uaccess.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/bsd-user/uaccess.c b/bsd-user/uaccess.c index 89163257f4..7eb4546fed 100644 --- a/bsd-user/uaccess.c +++ b/bsd-user/uaccess.c @@ -4,9 +4,10 @@ #include "qemu.h" -/* copy_from_user() and copy_to_user() are usually used to copy data - * buffers between the target and host. These internally perform - * locking/unlocking of the memory. +/* + * copy_from_user() and copy_to_user() are usually used to copy data buffers + * between the target and host. These internally perform locking/unlocking of + * the memory. */ abi_long copy_from_user(void *hptr, abi_ulong gaddr, size_t len) { @@ -37,8 +38,10 @@ abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len) return ret; } -/* Return the length of a string in target memory or -TARGET_EFAULT if - access error */ +/* + * Return the length of a string in target memory or -TARGET_EFAULT if access + * error + */ abi_long target_strlen(abi_ulong guest_addr1) { uint8_t *ptr; -- 2.22.1