patch-2.1.121 linux/fs/umsdos/mangle.c

Next file: linux/fs/umsdos/namei.c
Previous file: linux/fs/umsdos/ioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.120/linux/fs/umsdos/mangle.c linux/fs/umsdos/mangle.c
@@ -12,6 +12,11 @@
 #include <linux/kernel.h>
 #include <linux/umsdos_fs.h>
 
+/* (This file is used outside of the kernel) */
+#ifndef __KERNEL__
+#define KERN_WARNING
+#endif
+
 /*
  * Complete the mangling of the MSDOS fake name
  * based on the position of the entry in the EMD file.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov