[CRIU] [PATCH 2/2] test: libcriu -- check for -EBADE instead of -1
Ruslan Kuprieiev
kupruser at gmail.com
Wed Dec 18 03:50:28 PST 2013
Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
test/libcriu/test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/libcriu/test.c b/test/libcriu/test.c
index 8cd4eaf..b58f96a 100644
--- a/test/libcriu/test.c
+++ b/test/libcriu/test.c
@@ -7,7 +7,7 @@ static void what_err_ret_mean(ret)
{
/* NOTE: errno is set by libcriu */
switch (ret) {
- case -1:
+ case -EBADE:
perror("RPC has returned fail");
break;
case -ECONNREFUSED:
--
1.8.3.2
More information about the CRIU
mailing list