From 2455a677448e0e0c17d7193bf405b734b758811b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 17 Nov 2015 06:45:55 +0100 Subject: IPEDMA Update --- pcilib/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcilib') diff --git a/pcilib/property.c b/pcilib/property.c index 09ed449..a7d1a61 100644 --- a/pcilib/property.c +++ b/pcilib/property.c @@ -72,7 +72,7 @@ int pcilib_add_properties_from_registers(pcilib_t *ctx, size_t n, const pcilib_r char *view_name; pcilib_access_mode_t mode = 0; - pcilib_register_view_description_t v = {0}; + pcilib_register_view_description_t v = {{0}}; pcilib_register_bank_description_t *b = &ctx->banks[banks[i]]; if (registers[i].type == PCILIB_REGISTER_PROPERTY) continue; -- cgit v1.2.3