projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dbcd8c
)
binfmt_elf_fdpic: Fix build breakage introduced by coredump changes.
author
Daisuke HATAYAMA
<
[email protected]
>
Mon, 4 Jan 2010 06:42:14 +0000
(15:42 +0900)
committer
Paul Mundt
<
[email protected]
>
Mon, 4 Jan 2010 06:42:14 +0000
(15:42 +0900)
Commit
f6151dfea21496d43dbaba32cfcd9c9f404769bc
introduces build
breakage, so this patch fixes it together with some printk formatting
cleanup.
Signed-off-by: Daisuke HATAYAMA <
[email protected]
>
Signed-off-by: Paul Mundt <
[email protected]
>
fs/binfmt_elf_fdpic.c
patch
|
blob
|
history
diff --git
a/fs/binfmt_elf_fdpic.c
b/fs/binfmt_elf_fdpic.c
index c25256a5c5b0e432f63fe3fd07d8e3a2c61a909b..7dc85997e96c36c51eb8a3319a706224031b3ebd 100644
(file)
--- 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)
ELF_CORE_WRITE_EXTRA_DATA;
#endif
- if (file->f_pos != offset) {
+ if (
cprm->
file->f_pos != offset) {
/* Sanity check */
printk(KERN_WARNING
"elf_core_dump: file->f_pos (%lld) != offset (%lld)\n",
- file->f_pos, offset);
+
cprm->
file->f_pos, offset);
}
end_coredump: