diff options
| author | Laurent Vivier | 2016-06-14 15:07:09 +0200 |
|---|---|---|
| committer | Riku Voipio | 2016-06-26 12:17:21 +0200 |
| commit | 84f34b00c8cccfcefbadc45f68036dea957d2153 (patch) | |
| tree | a87584d68dac084528826a314ec3fff1af82a1a4 /linux-user | |
| parent | linux-user: update get_thread_area/set_thread_area strace (diff) | |
| download | qemu-84f34b00c8cccfcefbadc45f68036dea957d2153.tar.gz qemu-84f34b00c8cccfcefbadc45f68036dea957d2153.tar.xz qemu-84f34b00c8cccfcefbadc45f68036dea957d2153.zip | |
linux-user: add missing return in netlink switch statement
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user')
| -rw-r--r-- | linux-user/syscall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index b8a0738e5b..33409c01ba 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1692,6 +1692,7 @@ static abi_long target_to_host_for_each_nlmsg(struct nlmsghdr *nlh, struct nlmsgerr *e = NLMSG_DATA(nlh); e->error = tswap32(e->error); tswap_nlmsghdr(&e->msg); + return 0; } default: ret = target_to_host_nlmsg(nlh); |
