diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-07-06 14:58:16 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-07-06 14:58:16 -0400 |
commit | 7b01f6103a9baddaf0252e7f850a4cef91a48b67 (patch) | |
tree | 41b9cfb24e8b8ac5ffd24e9fda57405f6af6fd7d /libsandbox | |
parent | bump to sandbox-2.7 (diff) | |
download | sandbox-7b01f6103a9baddaf0252e7f850a4cef91a48b67.tar.gz sandbox-7b01f6103a9baddaf0252e7f850a4cef91a48b67.tar.bz2 sandbox-7b01f6103a9baddaf0252e7f850a4cef91a48b67.zip |
libsandbox: fix hppa trace code
URL: https://bugs.gentoo.org/425062
Reported-by: Jeroen Roovers <jer@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r-- | libsandbox/trace/linux/hppa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsandbox/trace/linux/hppa.c b/libsandbox/trace/linux/hppa.c index d23b0d1..5414354 100644 --- a/libsandbox/trace/linux/hppa.c +++ b/libsandbox/trace/linux/hppa.c @@ -1,5 +1,5 @@ -#define trace_reg_sysnum (20 * 4) /* PT_GR20 */ -#define trace_reg_ret (28 * 4) /* PT_GR28 */ +#define trace_reg_sysnum gr[20] +#define trace_reg_ret gr[28] static unsigned long trace_arg(void *vregs, int num) { |