mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
__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:
parent
54bf586e1f
commit
8fc3dc5a3a
12 changed files with 27 additions and 23 deletions
|
@ -105,7 +105,8 @@ static struct linux_binfmt script_format = {
|
|||
|
||||
static int __init init_script_binfmt(void)
|
||||
{
|
||||
return register_binfmt(&script_format);
|
||||
register_binfmt(&script_format);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __exit exit_script_binfmt(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue