From: Tulio Magno Quites Machado Filho Date: Tue, 20 Oct 2015 19:53:57 +0000 (-0200) Subject: tst-backtrace4: fix a warning message X-Git-Tag: upstream/2.24~862 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ad76d1ee7cc1be5277621e08f7dd66493de5ca1;p=platform%2Fupstream%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index b05d6d0..29b2730 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-10-21 Tulio Magno Quites Machado Filho + + * debug/tst-backtrace4.c (handle_signal): Fix a comment and + warning message. + 2015-10-21 Joseph Myers * Makeconfig (+gccwarn-c): Add -Wold-style-definition. diff --git a/debug/tst-backtrace4.c b/debug/tst-backtrace4.c index f455abd..33ac328 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 ();