summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/oss-sound/oss-linux-free/oss4_1016-kernel2626.diff
blob: 730c19e71c3b2c95097d1e467db33efdb762a4a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -uNr setup/Linux/oss/build/osscore.c setup/Linux/oss/build/osscore.c
--- setup/Linux/oss/build/osscore.c	2008-05-24 04:54:28.000000000 +0200
+++ setup/Linux/oss/build/osscore.c	2008-07-31 19:47:53.000000000 +0200
@@ -285,7 +285,7 @@
 init_proc_fs (void)
 {
   if ((oss_proc_root =
-       create_proc_entry ("opensound", 0700 | S_IFDIR, &proc_root)) == NULL)
+       create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
     {
       oss_cmn_err (CE_CONT, "Cannot create /proc/opensound\n");
       return;
@@ -308,7 +308,7 @@
     {
       if (oss_proc_devfiles)
 	remove_proc_entry ("devfiles", oss_proc_root);
-      remove_proc_entry ("opensound", &proc_root);
+      remove_proc_entry ("opensound", NULL);
     }
 }