__register_binfmt() made void
Just don't pass NULL to it - nobody does, anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -46,6 +46,7 @@ static struct linux_binfmt loader_format = {
|
||||
|
||||
static int __init init_loader_binfmt(void)
|
||||
{
|
||||
return insert_binfmt(&loader_format);
|
||||
insert_binfmt(&loader_format);
|
||||
return 0;
|
||||
}
|
||||
arch_initcall(init_loader_binfmt);
|
||||
|
Reference in New Issue
Block a user