diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-08-22 21:09:08 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-08-22 21:09:08 +0000 |
commit | 79e25d0d74e2a45885eb762c554817102e7772c5 (patch) | |
tree | 28ba2baae63e1c72106043ee19a4d66e304d695a /proc | |
parent | db550b76bd7185662c4d341a5cf590942e803abb (diff) |
Formerly info.c.~8~
Diffstat (limited to 'proc')
-rw-r--r-- | proc/info.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proc/info.c b/proc/info.c index 80ef3b88..2a546356 100644 --- a/proc/info.c +++ b/proc/info.c @@ -475,7 +475,8 @@ S_proc_getloginpids (struct proc *callerp, if (new - parray > parraysize) { struct proc **newparray; - newparray = realloc (parray, parraysize *= 2); + newparray = realloc (parray, ((parraysize *= 2) + * sizeof (struct proc *))); tail = newparray + (tail - parray); new = newparray + (new - parray); parray = newparray; |