Commit 74da6cd0 authored by Jesper Juhl's avatar Jesper Juhl Committed by Adrian Bunk

missing printk loglevel and tiny tiny whitespace change in binfmt_elf()

Patch adds a mising printk loglevel (I think KERN_WARNING is appropriate
here) in fs/binfmt_elf.c, and while I was there I made some tiny tiny tiny
adjustments to whitespacing in the neighborhood.
Signed-off-by: default avatarJesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent e97a3111
...@@ -1634,17 +1634,17 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file) ...@@ -1634,17 +1634,17 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file)
ELF_CORE_WRITE_EXTRA_DATA; ELF_CORE_WRITE_EXTRA_DATA;
#endif #endif
if ((off_t) file->f_pos != offset) { if ((off_t)file->f_pos != offset) {
/* Sanity check */ /* Sanity check */
printk("elf_core_dump: file->f_pos (%ld) != offset (%ld)\n", printk(KERN_WARNING "elf_core_dump: file->f_pos (%ld) != offset (%ld)\n",
(off_t) file->f_pos, offset); (off_t)file->f_pos, offset);
} }
end_coredump: end_coredump:
set_fs(fs); set_fs(fs);
cleanup: cleanup:
while(!list_empty(&thread_list)) { while (!list_empty(&thread_list)) {
struct list_head *tmp = thread_list.next; struct list_head *tmp = thread_list.next;
list_del(tmp); list_del(tmp);
kfree(list_entry(tmp, struct elf_thread_status, list)); kfree(list_entry(tmp, struct elf_thread_status, list));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment