about summary refs log tree commit diff
path: root/sysdeps/s390
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390')
-rw-r--r--sysdeps/s390/s390-32/backtrace.c2
-rw-r--r--sysdeps/s390/s390-64/backtrace.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/s390/s390-32/backtrace.c b/sysdeps/s390/s390-32/backtrace.c
index 8e3ca7ecca..5e27dd42b6 100644
--- a/sysdeps/s390/s390-32/backtrace.c
+++ b/sysdeps/s390/s390-32/backtrace.c
@@ -71,7 +71,7 @@ __backtrace (array, size)
 	   out of range.  */
 	break;
 
-      array[cnt++] = stack->save_grps[9];
+      array[cnt++] = stack->save_grps[8];
 
       stack = (struct layout *) stack->back_chain;
     }
diff --git a/sysdeps/s390/s390-64/backtrace.c b/sysdeps/s390/s390-64/backtrace.c
index 15ab214875..0a6d3b9530 100644
--- a/sysdeps/s390/s390-64/backtrace.c
+++ b/sysdeps/s390/s390-64/backtrace.c
@@ -70,7 +70,7 @@ __backtrace (array, size)
 	   out of range.  */
 	break;
 
-      array[cnt++] = stack->save_grps[9];
+      array[cnt++] = stack->save_grps[8];
 
       stack = (struct layout *) stack->back_chain;
     }
@@ -78,4 +78,3 @@ __backtrace (array, size)
   return cnt;
 }
 weak_alias (__backtrace, backtrace)
-