patch-1.3.15 linux/fs/msdos/file.c

Next file: linux/fs/msdos/misc.c
Previous file: linux/fs/minix/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/fs/msdos/file.c linux/fs/msdos/file.c
@@ -267,13 +267,14 @@
 int msdos_file_write(
 	struct inode *inode,
 	struct file *filp,
-	char *buf,
+	const char *buf,
 	int count)
 {
 	struct super_block *sb = inode->i_sb;
 	int sector,offset,size,left,written;
 	int error,carry;
-	char *start,*to,ch;
+	const char *start;
+	char *to,ch;
 	struct buffer_head *bh;
 	int binary_mode = MSDOS_I(inode)->i_binary;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this