summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_misc.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-04 07:40:19 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-04 07:40:19 +0000
commit33263fc5f9ac8e8cb2b22d06af3ce5ac1dd815e4 (patch)
tree2d1b86a40bef0958a68cf1a2eafbeb0667a70543 /fs/binfmt_misc.c
parent216f5f51aa02f8b113aa620ebc14a9631a217a00 (diff)
Merge with Linux 2.3.32.
Diffstat (limited to 'fs/binfmt_misc.c')
-rw-r--r--fs/binfmt_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index 358890dbd..5d5d17bc4 100644
--- a/fs/binfmt_misc.c
+++ b/fs/binfmt_misc.c
@@ -476,7 +476,7 @@ static int __init init_misc_binfmt(void)
int error = -ENOENT;
struct proc_dir_entry *status = NULL, *reg;
- bm_dir = create_proc_entry("sys/fs/binfmt_misc", S_IFDIR, NULL);
+ bm_dir = proc_mkdir("sys/fs/binfmt_misc", NULL); /* WTF??? */
if (!bm_dir)
goto out;
bm_dir->owner = THIS_MODULE;
@@ -515,5 +515,5 @@ static void __exit exit_misc_binfmt(void)
EXPORT_NO_SYMBOLS;
-module_init(init_misc_binfmt)
-module_exit(exit_misc_binfmt)
+module_init(init_misc_binfmt);
+module_exit(exit_misc_binfmt);