diff options
Diffstat (limited to 'fs/binfmt_aout.c')
-rw-r--r-- | fs/binfmt_aout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c index a4f847f77234..ca0ba15a7306 100644 --- a/fs/binfmt_aout.c +++ b/fs/binfmt_aout.c | |||
@@ -87,7 +87,7 @@ static int aout_core_dump(struct coredump_params *cprm) | |||
87 | if (!dump_emit(cprm, &dump, sizeof(dump))) | 87 | if (!dump_emit(cprm, &dump, sizeof(dump))) |
88 | goto end_coredump; | 88 | goto end_coredump; |
89 | /* Now dump all of the user data. Include malloced stuff as well */ | 89 | /* Now dump all of the user data. Include malloced stuff as well */ |
90 | if (!dump_seek(cprm->file, PAGE_SIZE - sizeof(dump))) | 90 | if (!dump_skip(cprm, PAGE_SIZE - sizeof(dump))) |
91 | goto end_coredump; | 91 | goto end_coredump; |
92 | /* now we start writing out the user space info */ | 92 | /* now we start writing out the user space info */ |
93 | set_fs(USER_DS); | 93 | set_fs(USER_DS); |