debuggers.hg
diff xen/common/resource.c @ 3658:0ef6e8e6e85d
bitkeeper revision 1.1159.212.71 (4200f0afX_JumfbEHQex6TdFENULMQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
author | iap10@labyrinth.cl.cam.ac.uk |
---|---|
date | Wed Feb 02 15:24:31 2005 +0000 (2005-02-02) |
parents | dae98734f12e beb0887c54bc |
children | bbe8541361dd 4294cfa9fad3 |
line diff
1.1 --- a/xen/common/resource.c Wed Feb 02 09:38:32 2005 +0000 1.2 +++ b/xen/common/resource.c Wed Feb 02 15:24:31 2005 +0000 1.3 @@ -220,7 +220,7 @@ int allocate_resource(struct resource *r 1.4 */ 1.5 struct resource * __request_region(struct resource *parent, unsigned long start, unsigned long n, const char *name) 1.6 { 1.7 - struct resource *res = xmalloc(sizeof(*res)); 1.8 + struct resource *res = xmalloc(struct resource); 1.9 1.10 if (res) { 1.11 memset(res, 0, sizeof(*res));