aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/signals-state-child.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index bfd1748..d7437aa 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-08-12 Yao Qi <yao.qi@linaro.org>
+
+ * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
+ argument list.
+
2016-08-10 Pedro Alves <palves@redhat.com>
PR gdb/19187
diff --git a/gdb/testsuite/gdb.base/signals-state-child.c b/gdb/testsuite/gdb.base/signals-state-child.c
index e11fa93..f934c86 100644
--- a/gdb/testsuite/gdb.base/signals-state-child.c
+++ b/gdb/testsuite/gdb.base/signals-state-child.c
@@ -74,7 +74,7 @@ main (int argc, char **argv)
{
int m;
- fprintf (out, "sigaction={sa_handler=", i);
+ fprintf (out, "sigaction={sa_handler=");
if (oldact.sa_handler == SIG_DFL)
fprintf (out, "SIG_DFL");