summaryrefslogtreecommitdiffstats
path: root/sbin/ggate/ggatec/ggatec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ggate/ggatec/ggatec.c')
-rw-r--r--sbin/ggate/ggatec/ggatec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ggate/ggatec/ggatec.c b/sbin/ggate/ggatec/ggatec.c
index 6f9263c..ea4f701 100644
--- a/sbin/ggate/ggatec/ggatec.c
+++ b/sbin/ggate/ggatec/ggatec.c
@@ -447,6 +447,7 @@ g_gatec_create(void)
/*
* Ok, got both sockets, time to create provider.
*/
+ memset(&ggioc, 0, sizeof(ggioc));
ggioc.gctl_version = G_GATE_VERSION;
ggioc.gctl_mediasize = mediasize;
ggioc.gctl_sectorsize = sectorsize;
OpenPOWER on IntegriCloud