]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu_conf: Undefine the correct symbol
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 12 Aug 2014 15:39:52 +0000 (17:39 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 12 Aug 2014 15:45:43 +0000 (17:45 +0200)
At the beginning of the qemu config file parsing function there
are 3 helper macros defined: GET_VALUE_BOOL, GET_VALUE_LONG and
GET_VALUE_STR. Later, when they are no longer needed they are
undefined in order to keep the namespace clean. However, the
GET_VALUE_STRING is undefined instead of GET_VALUE_STR.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_conf.c

index b14b1bc14c23a7df9937ddba91551425579a8166..238d2b1a63233a9ec7e12a45d1f5d8781a8bce12 100644 (file)
@@ -662,7 +662,7 @@ int virQEMUDriverConfigLoadFile(virQEMUDriverConfigPtr cfg,
 }
 #undef GET_VALUE_BOOL
 #undef GET_VALUE_LONG
-#undef GET_VALUE_STRING
+#undef GET_VALUE_STR
 
 virQEMUDriverConfigPtr virQEMUDriverGetConfig(virQEMUDriverPtr driver)
 {