X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fspawn_faction_init.c;h=f6ef0c9591d7026d0ff955752a99df021517d64a;hb=e42a3db8aafb8bf431024c542a0c884059b97675;hp=28271a75fdfd1491ad8756e5f069f6f2f56b5a84;hpb=aa88bb9d68542ef80b7527ffee8c8885ae022a29;p=gnulib.git diff --git a/lib/spawn_faction_init.c b/lib/spawn_faction_init.c index 28271a75f..f6ef0c959 100644 --- a/lib/spawn_faction_init.c +++ b/lib/spawn_faction_init.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2009-2011 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software: you can redistribute it and/or modify @@ -33,7 +33,7 @@ __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *file_actions) { int newalloc = file_actions->_allocated + 8; void *newmem = realloc (file_actions->_actions, - newalloc * sizeof (struct __spawn_action)); + newalloc * sizeof (struct __spawn_action)); if (newmem == NULL) /* Not enough memory. */