[libvirt] [PATCH] m4/virt-loader-nvram: use quotation for list of loader:nvram pairs

Pavel Hrdina phrdina at redhat.com
Wed Dec 21 20:31:26 UTC 2016


The bug was introduced by commit 08c2d1480b.  The string must be quoted
because it is used as function argument.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---

Pushed under build breaker rule.

 m4/virt-loader-nvram.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/virt-loader-nvram.m4 b/m4/virt-loader-nvram.m4
index e57ba829f4..e3e8b82825 100644
--- a/m4/virt-loader-nvram.m4
+++ b/m4/virt-loader-nvram.m4
@@ -31,7 +31,7 @@ AC_DEFUN([LIBVIRT_CHECK_LOADER_NVRAM], [
     if test $(expr $l % 2) -ne 0 ; then
       AC_MSG_ERROR([Malformed --with-loader-nvram argument])
     fi
-    AC_DEFINE_UNQUOTED([DEFAULT_LOADER_NVRAM], [$with_loader_nvram],
+    AC_DEFINE_UNQUOTED([DEFAULT_LOADER_NVRAM], ["$with_loader_nvram"],
                        [List of loader:nvram pairs])
   fi
 ])
-- 
2.11.0




More information about the libvir-list mailing list