diff options
Diffstat (limited to 'lib/module.c')
-rw-r--r-- | lib/module.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/module.c b/lib/module.c index beef79109..b3ab91c4e 100644 --- a/lib/module.c +++ b/lib/module.c @@ -42,8 +42,10 @@ static struct frrmod_info frrmod_default_info = { .description = "libfrr core module", }; union _frrmod_runtime_u frrmod_default = { - .r.info = &frrmod_default_info, - .r.finished_loading = 1, + .r = { + .info = &frrmod_default_info, + .finished_loading = 1, + }, }; // if defined(HAVE_SYS_WEAK_ALIAS_ATTRIBUTE) |