In attempt to getting rid of errN labels let's start with the
most upper one and rename it to 'error'.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/network/bridge_driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 26f7f80418..ef82a3e310 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -2485,14 +2485,14 @@ networkStartNetworkVirtual(virNetworkDriverStatePtr driver,
}
if (virNetDevBandwidthSet(def->bridge, def->bandwidth, true, true) < 0)
- goto err5;
+ goto error;
VIR_FREE(macTapIfName);
VIR_FREE(macMapFile);
return 0;
- err5:
+ error:
virErrorPreserveLast(&save_err);
if (def->bandwidth)
virNetDevBandwidthClear(def->bridge);
--
2.21.0