mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
tst-backtrace4: fix a warning message
Modify a warning message so that it doesn't sound as an error, e.g.: "Obtained backtrace with 6 functions (but wanted at least 6)" Update a comment too.
This commit is contained in:
committed by
Mike Frysinger
parent
8e2f7c6811
commit
0ad76d1ee7
@ -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>
|
2015-10-21 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* Makeconfig (+gccwarn-c): Add -Wold-style-definition.
|
* Makeconfig (+gccwarn-c): Add -Wold-style-definition.
|
||||||
|
@ -49,9 +49,9 @@ handle_signal (int signum)
|
|||||||
|
|
||||||
/* Get the backtrace addresses. */
|
/* Get the backtrace addresses. */
|
||||||
n = backtrace (addresses, sizeof (addresses) / sizeof (addresses[0]));
|
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);
|
n, NUM_FUNCTIONS);
|
||||||
/* Check that there are at least six functions. */
|
/* Check that there are at least NUM_FUNCTIONS functions. */
|
||||||
if (n < NUM_FUNCTIONS)
|
if (n < NUM_FUNCTIONS)
|
||||||
{
|
{
|
||||||
FAIL ();
|
FAIL ();
|
||||||
|
Reference in New Issue
Block a user