aboutsummaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2021-04-23 21:35:15 -0600
committerWarner Losh <imp@bsdimp.com>2021-04-30 09:13:16 -0600
commit92ac45049b8c17b2ea659c9533951f391ac93744 (patch)
tree25aa5642e321a7a9253079456dd6ed75e6f65f07 /bsd-user
parentfa0546370d6d13016687854c341d057520672aec (diff)
downloadqemu-92ac45049b8c17b2ea659c9533951f391ac93744.zip
qemu-92ac45049b8c17b2ea659c9533951f391ac93744.tar.gz
qemu-92ac45049b8c17b2ea659c9533951f391ac93744.tar.bz2
bsd-user: put back a break; that had gone missing...
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
Diffstat (limited to 'bsd-user')
-rw-r--r--bsd-user/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c
index adc3d21..4abff79 100644
--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -199,6 +199,7 @@ static int sysctl_oldcvt(void *holdp, size_t holdlen, uint32_t kind)
#else
case CTLTYPE_LONG:
*(uint64_t *)holdp = tswap64(*(long *)holdp);
+ break;
case CTLTYPE_ULONG:
*(uint64_t *)holdp = tswap64(*(unsigned long *)holdp);
break;