libcriu: add cr_errno support

Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Ruslan Kuprieiev 2014-12-11 22:55:17 +02:00 committed by Pavel Emelyanov
parent 8cba5a16dd
commit c7c772f93e

View file

@ -448,6 +448,9 @@ again:
}
}
if ((*resp)->has_cr_errno)
saved_errno = (*resp)->cr_errno;
exit:
return ret;
}