diff options
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r-- | fs/binfmt_elf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index a4f6f57d91aa..f979ebbce49c 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -1634,17 +1634,17 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file) | |||
1634 | ELF_CORE_WRITE_EXTRA_DATA; | 1634 | ELF_CORE_WRITE_EXTRA_DATA; |
1635 | #endif | 1635 | #endif |
1636 | 1636 | ||
1637 | if ((off_t) file->f_pos != offset) { | 1637 | if ((off_t)file->f_pos != offset) { |
1638 | /* Sanity check */ | 1638 | /* Sanity check */ |
1639 | printk("elf_core_dump: file->f_pos (%ld) != offset (%ld)\n", | 1639 | printk(KERN_WARNING "elf_core_dump: file->f_pos (%ld) != offset (%ld)\n", |
1640 | (off_t) file->f_pos, offset); | 1640 | (off_t)file->f_pos, offset); |
1641 | } | 1641 | } |
1642 | 1642 | ||
1643 | end_coredump: | 1643 | end_coredump: |
1644 | set_fs(fs); | 1644 | set_fs(fs); |
1645 | 1645 | ||
1646 | cleanup: | 1646 | cleanup: |
1647 | while(!list_empty(&thread_list)) { | 1647 | while (!list_empty(&thread_list)) { |
1648 | struct list_head *tmp = thread_list.next; | 1648 | struct list_head *tmp = thread_list.next; |
1649 | list_del(tmp); | 1649 | list_del(tmp); |
1650 | kfree(list_entry(tmp, struct elf_thread_status, list)); | 1650 | kfree(list_entry(tmp, struct elf_thread_status, list)); |