mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0049-v2v-Remove-useless-parentheses-around-expression.patch

0d20ef
From 0b0d434a1b3563308fa0ec3724aaffe9516df452 Mon Sep 17 00:00:00 2001
0d20ef
From: "Richard W.M. Jones" <rjones@redhat.com>
0d20ef
Date: Thu, 30 Oct 2014 13:47:23 +0000
0d20ef
Subject: [PATCH] v2v: Remove useless parentheses around expression.
0d20ef
0d20ef
(cherry picked from commit d82c5fb5a0c86345891ee191ae7d820361978643)
0d20ef
---
0d20ef
 v2v/input_libvirtxml.ml | 2 +-
0d20ef
 1 file changed, 1 insertion(+), 1 deletion(-)
0d20ef
0d20ef
diff --git a/v2v/input_libvirtxml.ml b/v2v/input_libvirtxml.ml
0d20ef
index c71260f..f302b2c 100644
0d20ef
--- a/v2v/input_libvirtxml.ml
0d20ef
+++ b/v2v/input_libvirtxml.ml
0d20ef
@@ -170,7 +170,7 @@ let parse_libvirt_xml ~verbose xml =
0d20ef
              * XXX Quoting, although it's not needed for virt-p2v.
0d20ef
              *)
0d20ef
             let path = sprintf "nbd:%s:%d" host port in
0d20ef
-            add_disk path format target_dev (P_dont_rewrite)
0d20ef
+            add_disk path format target_dev P_dont_rewrite
0d20ef
           )
0d20ef
         | "" -> ()
0d20ef
         | protocol ->
0d20ef
-- 
0d20ef
1.8.3.1
0d20ef