Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267918
b: refs/heads/master
c: ebf16e3
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Aug 25, 2011
1 parent 31336c8 commit 46a6267
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2e2c1d17abc3953239bc05ac586eab9f2f14bfda
refs/heads/master: ebf16e38515188b61962ba84b59e898ad64ffff6
4 changes: 2 additions & 2 deletions trunk/scripts/mod/file2alias.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:");
Expand Down

0 comments on commit 46a6267

Please sign in to comment.