Merge branch 'core/types' into x86/x32

This commit is contained in:
H. Peter Anvin 2012-02-23 18:35:21 -08:00
commit 3f21723079

View File

@ -179,7 +179,7 @@ static struct fdtable * alloc_fdtable(unsigned int nr)
if (!data)
goto out_arr;
fdt->open_fds = data;
data += nr / BITS_PER_LONG;
data += nr / BITS_PER_BYTE;
fdt->close_on_exec = data;
fdt->next = NULL;