Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx> --- exec/totemconfig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/exec/totemconfig.c b/exec/totemconfig.c index a76de88..6363317 100644 --- a/exec/totemconfig.c +++ b/exec/totemconfig.c @@ -215,7 +215,7 @@ static int get_cluster_mcast_addr ( } clusterid = generate_cluster_id(cluster_name) + ringnumber; - memset (res, 0, sizeof(res)); + memset (res, 0, sizeof(*res)); switch (bindnet->family) { case AF_INET: -- 1.7.1 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss