summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-11-09 16:13:48 +0000
committerUlrich Drepper <[email protected]>2005-11-09 16:13:48 +0000
commit3840c1ccabc9467ee452a9850e7e2392e1febe3b (patch)
tree270f90e25246a4499b40c8913e97af937d5cdace
parentcf18d52e3092fad31b18f0a879d4221f633ed3c7 (diff)
Fix bug in line2addr:handle_module. Missng print parameter.
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/line2addr.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index aa6d650d..2c5fc164 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-09 Ulrich Drepper <[email protected]>
+
+ * line2addr.c (handle_module): Add missing parameter to printf.
+
2005-10-27 Roland McGrath <[email protected]>
* allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
diff --git a/tests/line2addr.c b/tests/line2addr.c
index 4c3b6045..2b92af25 100644
--- a/tests/line2addr.c
+++ b/tests/line2addr.c
@@ -74,7 +74,7 @@ handle_module (Dwfl_Module *mod __attribute__ ((unused)),
printf (" %s%s:%d", modname[0] != '\0' ? "" : "(",
file, line);
if (col != 0)
- printf (":%d");
+ printf (":%d", col);
if (modname[0] != '\0'
|| strcmp (file, a->file) || line != a->line || col != 0)
puts (")");