summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-04-09 16:38:30 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-04-09 16:38:30 +0000
commitfa20c4fe8040f4753f90a6ad1ba169abe12647d2 (patch)
tree8728b718d0d9063d33186fcb4dd495beae04a78c /gnu/egcs
parent5fe01e5ef1809dfdb14f129315c443eead286d8a (diff)
xmalloc called with the wrong sizeof in sentinel attribute setup
espie@ ok
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/c-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/c-common.c b/gnu/egcs/gcc/c-common.c
index bc8399e0c97..38bf4927916 100644
--- a/gnu/egcs/gcc/c-common.c
+++ b/gnu/egcs/gcc/c-common.c
@@ -1460,7 +1460,7 @@ new_sentinel_info (argument_num)
sentinel_info *info;
info = (sentinel_info *)
- xmalloc (sizeof (nonnull_info));
+ xmalloc (sizeof (sentinel_info));
info->next = NULL;
info->type = A_SENTINEL;
info->argument_num = argument_num;