patch-2.1.34 linux/fs/binfmt_em86.c
Next file: linux/fs/buffer.c
Previous file: linux/drivers/scsi/sr_vendor.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Apr 11 10:37:41 1997
- Orig file:
v2.1.33/linux/fs/binfmt_em86.c
- Orig date:
Mon Apr 7 11:35:30 1997
diff -u --recursive --new-file v2.1.33/linux/fs/binfmt_em86.c linux/fs/binfmt_em86.c
@@ -20,13 +20,13 @@
static int do_load_em86(struct linux_binprm *bprm,struct pt_regs *regs)
{
- char *cp, *interp, *i_name, *i_arg;
+ char *interp, *i_name, *i_arg;
int retval;
struct elfhdr elf_ex;
/* Make sure this is a Linux/Intel ELF executable... */
elf_ex = *((struct elfhdr *)bprm->buf);
-
+
if (elf_ex.e_ident[0] != 0x7f ||
strncmp(&elf_ex.e_ident[1], "ELF",3) != 0) {
return -ENOEXEC;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov