Re: [PATCH v3 2/9] bsd-user/mmap.c: check pread's return value to fix warnings with _FORTIFY_SOURCE

2021-10-14 Thread Kyle Evans
On Fri, Oct 8, 2021 at 4:24 PM Warner Losh wrote: > > From: Mikaël Urankar > > Simmilar to the equivalent linux-user: commit fb7e378cf9c, which added > checking to pread's return value. Update to current qemu standards with > {} around the if statement. > > Signed-off-by: Mikaël Urankar >

[PATCH v3 2/9] bsd-user/mmap.c: check pread's return value to fix warnings with _FORTIFY_SOURCE

2021-10-08 Thread Warner Losh
From: Mikaël Urankar Simmilar to the equivalent linux-user: commit fb7e378cf9c, which added checking to pread's return value. Update to current qemu standards with {} around the if statement. Signed-off-by: Mikaël Urankar Signed-off-by: Warner Losh Reviewed-by: Richard Henderson Reviewed-by: