summaryrefslogtreecommitdiff
path: root/tools/virsh-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virsh-interface.c')
-rw-r--r--tools/virsh-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virsh-interface.c b/tools/virsh-interface.c
index c27b6bcabc..9ceb122f9c 100644
--- a/tools/virsh-interface.c
+++ b/tools/virsh-interface.c
@@ -774,7 +774,7 @@ cmdInterfaceBridge(vshControl *ctl, const vshCmd *cmd)
/* Set stp and delay attributes in <bridge> according to the
* commandline options.
*/
- if (!xmlSetProp(br_node, BAD_CAST "stp", BAD_CAST (stp ? "on" : "off"))) {
+ if (!xmlSetProp(br_node, BAD_CAST "stp", BAD_CAST(stp ? "on" : "off"))) {
vshError(ctl, "%s", _("Failed to set stp attribute in xml document"));
goto cleanup;
}