Message ID | 20180306212512.3178-1-mwilck@suse.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | christophe varoqui |
Headers | show |
diff --git a/multipathd/uxlsnr.c b/multipathd/uxlsnr.c index 0531061912b3..cdafd82943e7 100644 --- a/multipathd/uxlsnr.c +++ b/multipathd/uxlsnr.c @@ -148,7 +148,7 @@ void uxsock_cleanup(void *arg) { struct client *client_loop; struct client *client_tmp; - int ux_sock = (int)arg; + long ux_sock = (long)arg; close(ux_sock); @@ -167,7 +167,7 @@ void uxsock_cleanup(void *arg) */ void * uxsock_listen(uxsock_trigger_fn uxsock_trigger, void * trigger_data) { - int ux_sock; + long ux_sock; int rlen; char *inbuf; char *reply;
Fixes: "multipathd: release uxsocket and resource when cancel thread" Signed-off-by: Martin Wilck <mwilck@suse.com> --- multipathd/uxlsnr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)