img: Use errno when checking optional images open fail
There will be no int-fd soon, so one more preparation to this fact. Signed-off-by:Pavel Emelyanov <xemul@parallels.com> Acked-by:
Cyrill Gorcunov <gorcunov@openvz.org>
Showing
Please
register
or
sign in
to comment