>From cbb7a7612e900a2df245083807fc961b49ad43c7 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 6 Feb 2016 09:53:02 +0000 Subject: [PATCH 2/4] inspection: Check every partition, not every other partition. Fixes commit d3b1387bdd118762606d6b589b9e2e67ae582d3b. --- src/inspect-fs-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspect-fs-windows.c b/src/inspect-fs-windows.c index 9aa9847..4ae1f79 100644 --- a/src/inspect-fs-windows.c +++ b/src/inspect-fs-windows.c @@ -631,7 +631,7 @@ map_registry_disk_blob_gpt (guestfs_h *g, const void *blob) if (parts == NULL) return NULL; - for (i = 0; parts[i] != NULL; i += 2) { + for (i = 0; parts[i] != NULL; ++i) { CLEANUP_FREE char *fs_guid = NULL; int partnum; CLEANUP_FREE char *device = NULL; -- 2.5.0