patch-2.1.116 linux/arch/alpha/kernel/ptrace.c
Next file: linux/arch/alpha/kernel/pyxis.c
Previous file: linux/arch/alpha/kernel/proto.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Aug 9 12:09:05 1998
- Orig file:
v2.1.115/linux/arch/alpha/kernel/ptrace.c
- Orig date:
Mon Aug 3 12:45:43 1998
diff -u --recursive --new-file v2.1.115/linux/arch/alpha/kernel/ptrace.c linux/arch/alpha/kernel/ptrace.c
@@ -281,10 +281,8 @@
struct vm_area_struct * vma = find_extend_vma(tsk, addr);
DBG(DBG_MEM_ALL, ("in read_long\n"));
- if (!vma) {
- printk("Unable to find vma for addr 0x%lx\n",addr);
+ if (!vma)
return -EIO;
- }
if ((addr & ~PAGE_MASK) > (PAGE_SIZE - sizeof(long))) {
struct vm_area_struct * vma_high = vma;
unsigned long low, align;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov