On Wed, 12 Oct 2005, Philippe Gerum wrote:

> Sebastian Smolorz wrote:
> > Hi,
> >
> > today I discovered a bug after having tried to load the Xenomai RTDM skin.
> > I've attached a patch which should correct the problem.

... and if we want to have a clean removal of the proc entry at module
unload, this next patch is very useful! ;-)

Sebastian
--- xenomai/skins/rtdm/proc.c   2005-10-12 17:35:42.000000000 +0200
+++ proc.c      2005-10-12 17:31:09.000000000 +0200
@@ -322,7 +322,7 @@ void rtdm_proc_cleanup(void)
     remove_proc_entry("open_fildes", rtdm_proc_root);
     remove_proc_entry("protocol_devices", rtdm_proc_root);
     remove_proc_entry("named_devices", rtdm_proc_root);
-    remove_proc_entry("Xenomai/rtdm", NULL);
+    remove_proc_entry("xenomai/rtdm", NULL);
 }
 
 #endif /* CONFIG_PROC_FS */

Reply via email to