diff options
-rw-r--r-- | src/inspect-fs-unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |