Skip to content
Commit 036d4053 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov
Browse files

zdtm unix_sock: don't use errno



In this place, errno is not being set and can be 0 or some random value,
so we should not use it. In case errno happens to be 0, we end up returning
a success status from a function while we should have returned a failure.

Signed-off-by: default avatarKir Kolyshkin <kir@openvz.org>
Acked-by: default avatarAndrew Vagin <avagin@gmail.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 40978ef3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment