From 02cee8d5cbcb0aaaf64d4f4d0916e3d4dbd8ee01 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 2 Mar 2004 08:50:42 +0000 Subject: [PATCH] 2004-03-02 Roland McGrath * util.c (setbpt): Fix one missed spot to use new arg0_index macro. From Michael Holzheu . --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 2770ac45..d4cc290c 100644 --- a/util.c +++ b/util.c @@ -1384,7 +1384,7 @@ struct tcb *tcp; #ifdef SYS_clone2 case SYS_clone2: #endif - if ((tcp->u_arg[0] & CLONE_PTRACE) == 0 + if ((tcp->u_arg[arg0_index] & CLONE_PTRACE) == 0 && (arg_setup (tcp, &state) < 0 || set_arg0 (tcp, &state, tcp->u_arg[arg0_index] | CLONE_PTRACE) < 0