summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2019-11-12 11:50:55 +0100
committerLaurent Vivier <laurent@vivier.eu>2019-11-12 17:05:24 +0100
commitc0cb880153ddf0366af09caecb40cc14dcc1991e (patch)
tree9db042ff3ba1522da64cbe9ef1d92b2dcfc82dc9 /linux-user
parent2a7e7c3e103a5c29af7c583390c243d85a2527e8 (diff)
downloadqemu-c0cb880153ddf0366af09caecb40cc14dcc1991e.zip
linux-user: fix missing break
Reported by Coverity (CID 1407221) Fixes: a2d866827bd8 ("linux-user: Support for NETLINK socket options") cc: Josh Kunz <jkz@google.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20191112105055.32269-1-laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index ab9d933e53..4e97bcf1e5 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2632,6 +2632,7 @@ static abi_long do_getsockopt(int sockfd, int level, int optname,
default:
goto unimplemented;
}
+ break;
#endif /* SOL_NETLINK */
default:
unimplemented: