2003-01-10  Roland McGrath  <roland@redhat.com>

	* process.c (change_syscall) [POWERPC]: Add missing return.
	* util.c [POWERPC] (arg0_offset): Set to 4*PT_R3, not 4*PT_ORIG_R3.
diff --git a/process.c b/process.c
index 1212ff7..965822c 100644
--- a/process.c
+++ b/process.c
@@ -609,6 +609,7 @@
 #elif defined(POWERPC)
 	if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_R0), new) < 0)
 		return -1;
+       return 0;
 #elif defined(S390) || defined(S390X)
 	/* s390 linux after 2.4.7 has a hook in entry.S to allow this */
 	if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_GPR2), new)<0)