Skip to content
Commit c1350f9a authored by Cyrill Gorcunov's avatar Cyrill Gorcunov
Browse files

Make error codes returned being a negative value



We have a mess in our return codes:
some functions return negative values,
while others -- positive.

Sanitize the return codes and make error
condition to return negative values.

Reported-by: default avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 093e4f35
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