Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24060
b: refs/heads/master
c: d6d21df
h: refs/heads/master
v: v3
  • Loading branch information
Darren Jenkins authored and Linus Torvalds committed Mar 26, 2006
1 parent cc80be1 commit e5a0044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 3ac8bf077d0f13b9c3131dd61f9f76c78c322858
refs/heads/master: d6d21dfdd305bf94300df13ff472141d3411ea17
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ void __init efi_init(void)
*/
c16 = (efi_char16_t *) boot_ioremap(efi.systab->fw_vendor, 2);
if (c16) {
for (i = 0; i < sizeof(vendor) && *c16; ++i)
for (i = 0; i < (sizeof(vendor) - 1) && *c16; ++i)
vendor[i] = *c16++;
vendor[i] = '\0';
} else
Expand Down

0 comments on commit e5a0044

Please sign in to comment.