]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user: Add missing break after do_bsd_preadv
authorWarner Losh <imp@bsdimp.com>
Sun, 20 Aug 2023 04:54:19 +0000 (22:54 -0600)
committerWarner Losh <imp@bsdimp.com>
Mon, 28 Aug 2023 18:16:18 +0000 (12:16 -0600)
commitf51e7c41acb4b17d28fc74f9f10df50a4a65fbcc
treeffe9522f29a85e6c53ffbe4dba9f08714c16e6da
parent97a3c571147c3b62a79a994ebd85769419e630c2
bsd-user: Add missing break after do_bsd_preadv

Without it, we'd call preadv, then write with weird parameters, which is
clearly not ideal...

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Fixes: 770d8abae7 ("bsd-user/bsd-file.h: Meat of the write system calls")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230820045419.89691-1-imp@bsdimp.com>
bsd-user/freebsd/os-syscall.c