Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25866
b: refs/heads/master
c: a9a5cd5
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Kuznetsov authored and Linus Torvalds committed Apr 18, 2006
1 parent 2f76b86 commit bf844d6
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 69cf0fac6052c5bd3fb3469a41d4216e926028f8
refs/heads/master: a9a5cd5d2a57fb76dbae2115450f777b69beccf7
3 changes: 1 addition & 2 deletions trunk/ipc/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ static int grow_ary(struct ipc_ids* ids, int newsize)
if(new == NULL)
return size;
new->size = newsize;
memcpy(new->p, ids->entries->p, sizeof(struct kern_ipc_perm *)*size +
sizeof(struct ipc_id_ary));
memcpy(new->p, ids->entries->p, sizeof(struct kern_ipc_perm *)*size);
for(i=size;i<newsize;i++) {
new->p[i] = NULL;
}
Expand Down

0 comments on commit bf844d6

Please sign in to comment.