diff --git a/[refs] b/[refs] index 38414b7df045..7757e6e68984 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2e2c1d17abc3953239bc05ac586eab9f2f14bfda +refs/heads/master: ebf16e38515188b61962ba84b59e898ad64ffff6 diff --git a/trunk/scripts/mod/file2alias.c b/trunk/scripts/mod/file2alias.c index b74d21ab91f7..f936d1fa969d 100644 --- a/trunk/scripts/mod/file2alias.c +++ b/trunk/scripts/mod/file2alias.c @@ -745,9 +745,9 @@ static int do_vmbus_entry(const char *filename, struct hv_vmbus_device_id *id, char *alias) { int i; - char guid_name[((sizeof(struct hv_vmbus_device_id) + 1)) * 2]; + char guid_name[((sizeof(id->guid) + 1)) * 2]; - for (i = 0; i < (sizeof(struct hv_vmbus_device_id) * 2); i += 2) + for (i = 0; i < (sizeof(id->guid) * 2); i += 2) sprintf(&guid_name[i], "%02x", id->guid[i/2]); strcpy(alias, "vmbus:");