Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42854
b: refs/heads/master
c: 584236a
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Linus Torvalds committed Dec 7, 2006
1 parent 20ef9fc commit 556e1aa
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: 386d9a7edd9f3492c99124b0a659e9ed7abb30f9
refs/heads/master: 584236ac7cdddeec0fdff25d2e475471ef91d028
4 changes: 2 additions & 2 deletions trunk/arch/mips/kernel/irixelf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ static int notesize(struct memelfnote *en)
int sz;

sz = sizeof(struct elf_note);
sz += roundup(strlen(en->name), 4);
sz += roundup(strlen(en->name) + 1, 4);
sz += roundup(en->datasz, 4);

return sz;
Expand All @@ -1028,7 +1028,7 @@ static int writenote(struct memelfnote *men, struct file *file)
{
struct elf_note en;

en.n_namesz = strlen(men->name);
en.n_namesz = strlen(men->name) + 1;
en.n_descsz = men->datasz;
en.n_type = men->type;

Expand Down

0 comments on commit 556e1aa

Please sign in to comment.