aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch')
-rw-r--r--recipes/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch b/recipes/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch
new file mode 100644
index 0000000000..280f0941c4
--- /dev/null
+++ b/recipes/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch
@@ -0,0 +1,11 @@
+Index: linux-2.4.24-2/arch/um/kernel/umid.c
+--- linux-2.4.24-2/arch/um/kernel/umid.c 16 Feb 2004 00:10:11 -0000 1.21
++++ linux-2.4.24-2/arch/um/kernel/umid.c 17 May 2004 18:35:49 -0000
+@@ -151,6 +151,7 @@
+
+ sprintf(dir, "%s%s", uml_dir, umid);
+ actually_do_remove(dir);
++ rmdir(uml_dir);
+ }
+
+ char *get_umid(int only_if_set)