patch-1.3.15 linux/fs/binfmt_elf.c
Next file: linux/fs/block_dev.c
Previous file: linux/drivers/sound/pss.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 1 10:02:41 1995
- Orig file:
v1.3.14/linux/fs/binfmt_elf.c
- Orig date:
Tue Jul 11 10:02:55 1995
diff -u --recursive --new-file v1.3.14/linux/fs/binfmt_elf.c linux/fs/binfmt_elf.c
@@ -780,7 +780,7 @@
* These are the only things you should do on a core-file: use only these
* functions to write out all the necessary info.
*/
-static int dump_write(struct file *file, void *addr, int nr)
+static int dump_write(struct file *file, const void *addr, int nr)
{
return file->f_op->write(file->f_inode, file, addr, nr) == nr;
}
@@ -818,7 +818,7 @@
/* An ELF note in memory */
struct memelfnote
{
- char *name;
+ const char *name;
int type;
unsigned int datasz;
void *data;
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