aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppah-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hppah-nat.c')
-rw-r--r--gdb/hppah-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c
index 138697b..ce9fde9 100644
--- a/gdb/hppah-nat.c
+++ b/gdb/hppah-nat.c
@@ -121,7 +121,7 @@ store_inferior_registers (regno)
scratch, 0);
if (errno != 0)
{
- sprintf (buf, "writing register number %d(%d)", regno, i);
+ sprintf (buf, "writing register number %d", regno);
perror_with_name (buf);
}
}
@@ -154,7 +154,7 @@ store_inferior_registers (regno)
scratch, 0);
if (errno != 0)
{
- sprintf (buf, "writing register number %d(%d)", regno, i);
+ sprintf (buf, "writing register number %d", regno);
perror_with_name (buf);
}
}