__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:
@@ -100,7 +100,8 @@ static struct linux_binfmt em86_format = {
|
||||
|
||||
static int __init init_em86_binfmt(void)
|
||||
{
|
||||
return register_binfmt(&em86_format);
|
||||
register_binfmt(&em86_format);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __exit exit_em86_binfmt(void)
|
||||
|
Reference in New Issue
Block a user