Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17818
b: refs/heads/master
c: 74da6cd
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Adrian Bunk committed Jan 11, 2006
1 parent 67ce830 commit a9a3ca6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e97a31117c0f96be6637f68b4029609bb1f2cc7c
refs/heads/master: 74da6cd06225da6971943bea6a33f4cb7f6b76a3
8 changes: 4 additions & 4 deletions trunk/fs/binfmt_elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1634,17 +1634,17 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file)
ELF_CORE_WRITE_EXTRA_DATA;
#endif

if ((off_t) file->f_pos != offset) {
if ((off_t)file->f_pos != offset) {
/* Sanity check */
printk("elf_core_dump: file->f_pos (%ld) != offset (%ld)\n",
(off_t) file->f_pos, offset);
printk(KERN_WARNING "elf_core_dump: file->f_pos (%ld) != offset (%ld)\n",
(off_t)file->f_pos, offset);
}

end_coredump:
set_fs(fs);

cleanup:
while(!list_empty(&thread_list)) {
while (!list_empty(&thread_list)) {
struct list_head *tmp = thread_list.next;
list_del(tmp);
kfree(list_entry(tmp, struct elf_thread_status, list));
Expand Down

0 comments on commit a9a3ca6

Please sign in to comment.