From b36b44af9e177fe5c9677d430abc7cba0633049c Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 20 Sep 2012 15:19:43 +0200 Subject: rename local variable to avoid clash with match macro match will expand to guestfs___match, rename the local variable to avoid clash. Signed-off-by: Olaf Hering --- src/inspect-fs-unix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/inspect-fs-unix.c') diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index 83245bd8..6d4b46c7 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -1117,14 +1117,14 @@ map_md_devices(guestfs_h *g, Hash_table **map) mdadm_app_free); if (!*map) g->abort_cb(); - for (char **match = matches; *match != NULL; match++) { + for (char **m = matches; *m != NULL; m++) { /* Get device name and uuid for each array */ - char *dev_path = safe_asprintf(g, "%s/devicename", *match); + char *dev_path = safe_asprintf(g, "%s/devicename", *m); char *dev = guestfs_aug_get(g, dev_path); free(dev_path); if (!dev) goto error; - char *uuid_path = safe_asprintf(g, "%s/uuid", *match); + char *uuid_path = safe_asprintf(g, "%s/uuid", *m); char *uuid = guestfs_aug_get(g, uuid_path); free(uuid_path); if (!uuid) { -- cgit