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: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Adrian Bunk <bunk@stusta.de>
This commit is contained in:
@@ -1636,7 +1636,7 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file)
|
|||||||
|
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user