]> Pileus Git - ~andy/linux/blobdiff - fs/binfmt_aout.c
Linux 3.14
[~andy/linux] / fs / binfmt_aout.c
index a4f847f772346d911f5ad00fb28723e95dd6883c..ca0ba15a73061fb61aaee9c4951ba6097d10544b 100644 (file)
@@ -87,7 +87,7 @@ static int aout_core_dump(struct coredump_params *cprm)
        if (!dump_emit(cprm, &dump, sizeof(dump)))
                goto end_coredump;
 /* Now dump all of the user data.  Include malloced stuff as well */
-       if (!dump_seek(cprm->file, PAGE_SIZE - sizeof(dump)))
+       if (!dump_skip(cprm, PAGE_SIZE - sizeof(dump)))
                goto end_coredump;
 /* now we start writing out the user space info */
        set_fs(USER_DS);