qemu-e2k/bsd-user
Mikaël Urankar 26778ac3da bsd-user/mmap.c: check pread's return value to fix warnings with _FORTIFY_SOURCE
Simmilar to the equivalent linux-user: commit fb7e378cf9, which added
checking to pread's return value. Update to current qemu standards with
{} around the if statement.

Signed-off-by: Mikaël Urankar <mikael.urankar@gmail.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
2021-10-17 16:55:52 -06:00
..
arm bsd-user: move strace OS/arch dependent code to host/arch dirs 2021-01-11 14:59:21 +01:00
freebsd bsd-user: Add target_os_user.h to capture the user/kernel structures 2021-09-10 14:13:06 -06:00
i386 user: Remove cpu_get_pic_interrupt() stubs 2021-09-14 12:00:21 -07:00
mips bsd-user: move strace OS/arch dependent code to host/arch dirs 2021-01-11 14:59:21 +01:00
mips64 bsd-user: move strace OS/arch dependent code to host/arch dirs 2021-01-11 14:59:21 +01:00
netbsd bsd-user: elf cleanup 2021-09-10 14:13:06 -06:00
openbsd bsd-user: elf cleanup 2021-09-10 14:13:06 -06:00
x86_64 user: Remove cpu_get_pic_interrupt() stubs 2021-09-14 12:00:21 -07:00
bsdload.c bsd-user: TARGET_NGROUPS unused in this file, remove 2021-09-10 14:13:06 -06:00
elfcore.c bsd-user: add stubbed out core dump support 2021-09-10 14:13:06 -06:00
elfload.c bsd-user: Refactor load_elf_sections and is_target_elf_binary 2021-09-10 14:13:06 -06:00
errno_defs.h
main.c bsd-user: Update mapping to handle reserved and starting conditions 2021-09-10 14:13:06 -06:00
meson.build meson: bsd-user 2020-08-21 06:30:38 -04:00
mmap.c bsd-user/mmap.c: check pread's return value to fix warnings with _FORTIFY_SOURCE 2021-10-17 16:55:52 -06:00
qemu.h bsd-user: Update mapping to handle reserved and starting conditions 2021-09-10 14:13:06 -06:00
signal.c bsd-user: remove target_signal.h, it's unused 2021-05-11 13:52:34 -06:00
strace.c bsd-user: style tweak: Remove #if 0'd code 2021-05-11 11:07:22 -06:00
syscall_defs.h bsd-user: Rewrite target system call definintion glue 2021-09-10 14:13:06 -06:00
syscall.c bsd-user: remove sparc and sparc64 2021-09-07 08:26:52 -06:00
uaccess.c bsd-user: style tweak: keyword space ( 2021-05-11 11:07:22 -06:00