summaryrefslogtreecommitdiffstats
path: root/lib/pb-config/storage-powerpc-nvram.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pb-config/storage-powerpc-nvram.c')
-rw-r--r--lib/pb-config/storage-powerpc-nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pb-config/storage-powerpc-nvram.c b/lib/pb-config/storage-powerpc-nvram.c
index fa2437c..d80e188 100644
--- a/lib/pb-config/storage-powerpc-nvram.c
+++ b/lib/pb-config/storage-powerpc-nvram.c
@@ -193,7 +193,7 @@ static int parse_one_interface_config(struct config *config,
struct interface_config *ifconf;
char *tok, *saveptr;
- ifconf = talloc(config, struct interface_config);
+ ifconf = talloc_zero(config, struct interface_config);
if (!confstr || !strlen(confstr))
goto out_err;
OpenPOWER on IntegriCloud