Skip to content

Commit

Permalink
Merge branch 'core/types' into x86/x32
Browse files Browse the repository at this point in the history
  • Loading branch information
H. Peter Anvin committed Feb 24, 2012
2 parents 862ae31 + f044db4 commit 3f21723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3f21723

Please sign in to comment.