diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2015-10-20 17:53:57 -0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-10-21 11:24:27 -0400 |
commit | 0ad76d1ee7cc1be5277621e08f7dd66493de5ca1 (patch) | |
tree | 09ee685817c07a2ff7442a281578f033e28a4b3c /debug/tst-backtrace4.c | |
parent | 8e2f7c68111ba8fae795ee08b6822e21ab8cfa38 (diff) | |
download | glibc-0ad76d1ee7cc1be5277621e08f7dd66493de5ca1.tar.gz glibc-0ad76d1ee7cc1be5277621e08f7dd66493de5ca1.tar.xz glibc-0ad76d1ee7cc1be5277621e08f7dd66493de5ca1.zip |
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.
Diffstat (limited to 'debug/tst-backtrace4.c')
-rw-r--r-- | debug/tst-backtrace4.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 (); |