patch-2.3.30 linux/fs/binfmt_misc.c
Next file: linux/fs/buffer.c
Previous file: linux/fs/bfs/file.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sat Nov 27 15:27:49 1999
- Orig file:
v2.3.29/linux/fs/binfmt_misc.c
- Orig date:
Tue Nov 23 22:42:21 1999
diff -u --recursive --new-file v2.3.29/linux/fs/binfmt_misc.c linux/fs/binfmt_misc.c
@@ -15,6 +15,7 @@
* 1997-08-09 removed extension stripping, locking cleanup
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
@@ -475,7 +476,7 @@
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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)