summaryrefslogtreecommitdiff
path: root/fs/binfmt_aout.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-03-17 03:05:16 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-20 21:29:46 -0400
commit8fc3dc5a3a17aa2b353886422bd89420619af211 (patch)
tree74a3290ad9621ff1c225b772df2c529c8feb5f43 /fs/binfmt_aout.c
parent54bf586e1f51018ba7624c851e7aa14cee0548d2 (diff)
downloadlinux-3.10-8fc3dc5a3a17aa2b353886422bd89420619af211.tar.gz
linux-3.10-8fc3dc5a3a17aa2b353886422bd89420619af211.tar.bz2
linux-3.10-8fc3dc5a3a17aa2b353886422bd89420619af211.zip
__register_binfmt() made void
Just don't pass NULL to it - nobody does, anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_aout.c')
-rw-r--r--fs/binfmt_aout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c
index 1ff94054d35..a543364ba29 100644
--- a/fs/binfmt_aout.c
+++ b/fs/binfmt_aout.c
@@ -454,7 +454,8 @@ out:
static int __init init_aout_binfmt(void)
{
- return register_binfmt(&aout_format);
+ register_binfmt(&aout_format);
+ return 0;
}
static void __exit exit_aout_binfmt(void)