diff options
| author | Peter Maydell | 2011-02-25 11:27:40 +0100 |
|---|---|---|
| committer | Aurelien Jarno | 2011-03-22 07:46:21 +0100 |
| commit | 30cb4cdec79dc2727f562edee36a4f3df4dfc23f (patch) | |
| tree | 24e9f3d2f7a9e663a094408ffbb7a5a2b83434c8 /linux-user/socket.h | |
| parent | vmmouse: Register vmstate via qdev (diff) | |
| download | qemu-30cb4cdec79dc2727f562edee36a4f3df4dfc23f.tar.gz qemu-30cb4cdec79dc2727f562edee36a4f3df4dfc23f.tar.xz qemu-30cb4cdec79dc2727f562edee36a4f3df4dfc23f.zip | |
linux-user: Fix unlock_user() call in return from poll()
Correct the broken attempt to calculate the third argument
to unlock_user() in the code path which unlocked the pollfd
array on return from poll() and ppoll() emulation. (This
only caused a problem if unlock_user() wasn't a no-op, eg
if DEBUG_REMAP is defined.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/socket.h')
0 files changed, 0 insertions, 0 deletions
