]> Git Repo - binutils.git/blobdiff - libctf/testsuite/libctf-regression/nonstatic-var-section-ld.c
Automatic date update in version.in
[binutils.git] / libctf / testsuite / libctf-regression / nonstatic-var-section-ld.c
index 4e3a74842b293bb22784b9f72f0cd920b19e8d7f..93988eb1e8d87e135d32fc948c66f2bc9294dd5b 100644 (file)
@@ -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);
 
This page took 0.031409 seconds and 4 git commands to generate.