[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 4/5] bsd-user: put back a break; that had gone missing...
From: |
Warner Losh |
Subject: |
[PULL 4/5] bsd-user: put back a break; that had gone missing... |
Date: |
Fri, 30 Apr 2021 11:27:45 -0600 |
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c
index adc3d21b54..4abff796c7 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;
--
2.22.1
- [PULL 0/5] bsd-user: minor cleanup patches, Warner Losh, 2021/04/30
- [PULL 3/5] bsd-user: style tweak: return is not a function, eliminate (), Warner Losh, 2021/04/30
- [PULL 1/5] bsd-user: whitespace changes, Warner Losh, 2021/04/30
- [PULL 2/5] bsd-user: style tweak: keyword space (, Warner Losh, 2021/04/30
- [PULL 4/5] bsd-user: put back a break; that had gone missing...,
Warner Losh <=
- [PULL 5/5] bsd-user: style tweak: Put {} around all if/else/for statements, Warner Losh, 2021/04/30