patch-1.3.15 linux/fs/proc/scsi.c

Next file: linux/fs/smbfs/file.c
Previous file: linux/fs/proc/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/fs/proc/scsi.c linux/fs/proc/scsi.c
@@ -33,7 +33,7 @@
 static int proc_readscsi(struct inode * inode, struct file * file,
 			 char * buf, int count);
 static int proc_writescsi(struct inode * inode, struct file * file,
-			 char * buf, int count);
+			 const char * buf, int count);
 static int proc_readscsidir(struct inode *, struct file *, 
 			    void *, filldir_t filldir);
 static int proc_lookupscsi(struct inode *,const char *,int,struct inode **);
@@ -282,7 +282,7 @@
 
 
 static int proc_writescsi(struct inode * inode, struct file * file,
-			 char * buf, int count)
+			 const char * buf, int count)
 {
     int ret = 0;
     char * page;

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