iotests: Send the correct fd in socket_scm_helper
authorStratos Psomadakis <psomas@grnet.gr>
Thu, 11 Sep 2014 15:19:29 +0000 (18:19 +0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 12 Sep 2014 08:27:54 +0000 (10:27 +0200)
commitbe2bfb9dbde59de27684623b9d8261262c5ad076
treecab27d8abeb200051a31122af58717113563d068
parent48f364dd0ba8d6323ee9ac2b35996eef667bac39
iotests: Send the correct fd in socket_scm_helper

Make sure to pass the correct fd via SCM_RIGHTS in socket_scm_helper.c
(i.e. fd_to_send, not socket-fd).

Signed-off-by: Stratos Psomadakis <psomas@grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/socket_scm_helper.c