It was failing with -ENOBUFS as we passed the incorrect size
into the recv.

Signed-off-by: Angus Salkeld <asalk...@redhat.com>
---
 lib/cpg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/cpg.c b/lib/cpg.c
index 9a463d4..0bbc61c 100644
--- a/lib/cpg.c
+++ b/lib/cpg.c
@@ -248,7 +248,7 @@ cs_error_t cpg_finalize (
                &iov,
                1,
                &res_lib_cpg_finalize,
-               sizeof (struct req_lib_cpg_finalize));
+               sizeof (struct res_lib_cpg_finalize));
 
        if (error != CS_OK) {
                goto error_put;
-- 
1.7.3.1

_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to