From 54f89ef1fcb55f31c8df8c23b246a430d625fad8 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 31 Oct 2012 19:03:50 +0000 Subject: [PATCH] Change bridge driver to use named initializers with virDriverState Signed-off-by: Daniel P. Berrange --- src/network/bridge_driver.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c index c153d36da7..fb167dcebf 100644 --- a/src/network/bridge_driver.c +++ b/src/network/bridge_driver.c @@ -3303,11 +3303,11 @@ static virNetworkDriver networkDriver = { }; static virStateDriver networkStateDriver = { - "Network", - networkStartup, - networkShutdown, - networkReload, - networkActive, + .name = "Network", + .initialize = networkStartup, + .cleanup = networkShutdown, + .reload = networkReload, + .active = networkActive, }; int networkRegister(void) { -- GitLab