Otherwise on non-ARM platforms we get warnings about uninitialised values.

Signed-off-by: Ian Campbell <ian.campb...@citrix.com>
---
 ts-host-install | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ts-host-install b/ts-host-install
index 5840e27..c39c5e7 100755
--- a/ts-host-install
+++ b/ts-host-install
@@ -196,8 +196,9 @@ SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="$ho->{Ether}", A
 END
     }
 
-    my $dtbs = "fdtdir /$d_i/dtbs"
-       if -e "$ho->{Tftp}{Path}/$d_i/dtbs";
+    my $dtbs = "";
+    $dtbs = "fdtdir /$d_i/dtbs"
+       if -e  "fdtdir /$d_i/dtbs""$ho->{Tftp}{Path}/$d_i/dtbs";
 
     file_simple_write_contents("$initrd_overlay.cpio", sub {
         contents_make_cpio($_[0], 'newc', "$initrd_overlay.d");
-- 
2.1.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to