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

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