about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--debug/tst-backtrace4.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b05d6d0e9f..29b273087c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
+
+	* debug/tst-backtrace4.c (handle_signal): Fix a comment and
+	warning message.
+
 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
 
 	* Makeconfig (+gccwarn-c): Add -Wold-style-definition.
diff --git a/debug/tst-backtrace4.c b/debug/tst-backtrace4.c
index f455abd018..33ac328686 100644
--- a/debug/tst-backtrace4.c
+++ b/debug/tst-backtrace4.c
@@ -49,9 +49,9 @@ handle_signal (int signum)
 
   /* Get the backtrace addresses.  */
   n = backtrace (addresses, sizeof (addresses) / sizeof (addresses[0]));
-  printf ("Obtained backtrace with %d functions (but wanted at least %d)\n",
+  printf ("Obtained backtrace with %d functions (want at least %d)\n",
 	  n, NUM_FUNCTIONS);
-  /* Check that there are at least six functions.  */
+  /* Check that there are at least NUM_FUNCTIONS functions.  */
   if (n < NUM_FUNCTIONS)
     {
       FAIL ();