diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-28 02:33:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-28 02:33:29 +0000 |
commit | 2ad1af2fde69276bb0467e2f9319f11a0920e267 (patch) | |
tree | 070ea86ba3e7cf1733dc53aab673d0820f300160 /regress/sys/ptrace/ptrace.c | |
parent | 0f6edc7477d0fa3716f48415b54f9acdad887fc8 (diff) |
struct reg changed
Diffstat (limited to 'regress/sys/ptrace/ptrace.c')
-rw-r--r-- | regress/sys/ptrace/ptrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/ptrace/ptrace.c b/regress/sys/ptrace/ptrace.c index 7320cb22e00..3906ae786a6 100644 --- a/regress/sys/ptrace/ptrace.c +++ b/regress/sys/ptrace/ptrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ptrace.c,v 1.1 2004/01/31 22:09:35 miod Exp $ */ +/* $OpenBSD: ptrace.c,v 1.2 2004/02/28 02:33:28 deraadt Exp $ */ /* * Copyright (c) 2004, Mark Kettenis. * Copyright (c) 2004, Miodrag Vallat. @@ -64,7 +64,7 @@ main(void) */ #if defined(__x86_64__) - regs.regs[tRIP] |= 0x07; + regs.r_rip |= 0x07; #elif defined(__m68k__) regs.r_pc |= 0x03; #elif defined(__hppa__) |