diff options
Diffstat (limited to 'libctf/testsuite/libctf-regression/nonstatic-var-section-ld.c')
-rw-r--r-- | libctf/testsuite/libctf-regression/nonstatic-var-section-ld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libctf/testsuite/libctf-regression/nonstatic-var-section-ld.c b/libctf/testsuite/libctf-regression/nonstatic-var-section-ld.c index 4e3a748..93988eb 100644 --- a/libctf/testsuite/libctf-regression/nonstatic-var-section-ld.c +++ b/libctf/testsuite/libctf-regression/nonstatic-var-section-ld.c @@ -30,12 +30,12 @@ main (int argc, char *argv[]) should have been erased. */ if ((foo_type = ctf_lookup_variable (fp, "foo")) == CTF_ERR) - printf ("Cannot look up foo\n", ctf_errmsg (ctf_errno (fp))); + printf ("Cannot look up foo: %s\n", ctf_errmsg (ctf_errno (fp))); else printf ("foo is of type %lx\n", foo_type); if ((bar_type = ctf_lookup_variable (fp, "bar")) == CTF_ERR) - printf ("Cannot look up bar\n", ctf_errmsg (ctf_errno (fp))); + printf ("Cannot look up bar: %s\n", ctf_errmsg (ctf_errno (fp))); else printf ("bar is of type %lx\n", bar_type); |