diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-11-07 23:49:55 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-11-07 23:49:55 +0000 |
| commit | 48063faf7937a148e85991c463bf91e78213ebf1 (patch) | |
| tree | 6d162ee6ffd215efdff9573ba1d9daca983961ad /emu/Nt/deveia.c | |
| parent | d3ba796f4932de1b69a999a9b9ed27368ae24d74 (diff) | |
20081107-2349
Diffstat (limited to 'emu/Nt/deveia.c')
| -rw-r--r-- | emu/Nt/deveia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emu/Nt/deveia.c b/emu/Nt/deveia.c index 4294b8fe..0ffa2e7a 100644 --- a/emu/Nt/deveia.c +++ b/emu/Nt/deveia.c @@ -175,10 +175,10 @@ eiainit(void) // allocate directory table and eia structure // for each active port. ndir = Nqid*nports+1; - dp = eiadir = calloc(ndir, sizeof(Dirtab)); + dp = eiadir = malloc(ndir*sizeof(Dirtab)); if(dp == 0) panic("eiainit"); - eia = calloc(nports, sizeof(Eia)); + eia = malloc(nports*sizeof(Eia)); if(eia == 0) { free(dp); panic("eiainit"); |
