From: Ian Jackson Date: Wed, 4 Nov 2009 17:07:57 +0000 (+0000) Subject: fix drive name parsing (any_hdN erroneous local declaration) X-Git-Tag: xen-3.4.2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d1551ab50a246324871f343722e390047a0e25ea;p=qemu-xen-3.4-testing.git fix drive name parsing (any_hdN erroneous local declaration) In xenstore_parse_domain_config(), 'any_hdN' is overridden by local version accidentally. Contributed-by: Xiaowei Yang Signed-off-by: Ian Jackson (cherry picked from commit f72b6e0ffc3bb84d4442c5a7493bffbdce2a4468) --- diff --git a/xenstore.c b/xenstore.c index 46915fb6..11b305d9 100644 --- a/xenstore.c +++ b/xenstore.c @@ -313,7 +313,7 @@ void xenstore_parse_domain_config(int hvm_domid) char *buf = NULL; char *fpath = NULL, *bpath = NULL, *dev = NULL, *params = NULL, *drv = NULL; - int i, any_hdN = 0, ret; + int i, ret; unsigned int len, num, hd_index, pci_devid = 0; BlockDriverState *bs; BlockDriver *format;