patch-2.4.0-test11 linux/fs/exec.c
Next file: linux/fs/ext2/ialloc.c
Previous file: linux/fs/efs/symlink.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Nov 8 19:01:34 2000
- Orig file:
v2.4.0-test10/linux/fs/exec.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/fs/exec.c linux/fs/exec.c
@@ -212,7 +212,7 @@
return -ENOMEM;
new = 1;
}
- kaddr = (char *)kmap(page);
+ kaddr = kmap(page);
if (new && offset)
memset(kaddr, 0, offset);
@@ -748,7 +748,7 @@
kunmap(page);
inside:
page = bprm->page[bprm->p/PAGE_SIZE];
- kaddr = (char *)kmap(page);
+ kaddr = kmap(page);
}
kunmap(page);
bprm->argc--;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)