aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorDaisuke HATAYAMA <d.hatayama@jp.fujitsu.com>2010-01-04 01:42:14 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-01-04 01:42:14 -0500
commit2f48912d1443a796f10c42c89cb386f0e3eca04d (patch)
treebbe8d4b4f095d7b810eb149273cae2aa4494c537 /fs/binfmt_elf_fdpic.c
parent7dbcd8c55fa9b39fe27383b697b8989697c1e1c5 (diff)
binfmt_elf_fdpic: Fix build breakage introduced by coredump changes.
Commit f6151dfea21496d43dbaba32cfcd9c9f404769bc introduces build breakage, so this patch fixes it together with some printk formatting cleanup. Signed-off-by: Daisuke HATAYAMA <d.hatayama@jp.fujitsu.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r--fs/binfmt_elf_fdpic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index c25256a5c5b0..7dc85997e96c 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -1798,11 +1798,11 @@ static int elf_fdpic_core_dump(struct coredump_params *cprm)
1798 ELF_CORE_WRITE_EXTRA_DATA; 1798 ELF_CORE_WRITE_EXTRA_DATA;
1799#endif 1799#endif
1800 1800
1801 if (file->f_pos != offset) { 1801 if (cprm->file->f_pos != offset) {
1802 /* Sanity check */ 1802 /* Sanity check */
1803 printk(KERN_WARNING 1803 printk(KERN_WARNING
1804 "elf_core_dump: file->f_pos (%lld) != offset (%lld)\n", 1804 "elf_core_dump: file->f_pos (%lld) != offset (%lld)\n",
1805 file->f_pos, offset); 1805 cprm->file->f_pos, offset);
1806 } 1806 }
1807 1807
1808end_coredump: 1808end_coredump: