From: Michal Privoznik Date: Tue, 12 Aug 2014 15:39:52 +0000 (+0200) Subject: qemu_conf: Undefine the correct symbol X-Git-Tag: v1.2.8-rc1~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf4cbe4094f7ef5dc5478fed22774a6accceb3eb;p=thirdparty%2Flibvirt.git qemu_conf: Undefine the correct symbol 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 --- diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index b14b1bc14c..238d2b1a63 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@ -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) {