Commit 3f217230 authored by H. Peter Anvin's avatar H. Peter Anvin

Merge branch 'core/types' into x86/x32

parents 862ae313 f044db4c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment