diff options
| author | Ulrich Drepper <[email protected]> | 2005-11-09 16:13:48 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2005-11-09 16:13:48 +0000 |
| commit | 3840c1ccabc9467ee452a9850e7e2392e1febe3b (patch) | |
| tree | 270f90e25246a4499b40c8913e97af937d5cdace | |
| parent | cf18d52e3092fad31b18f0a879d4221f633ed3c7 (diff) | |
Fix bug in line2addr:handle_module. Missng print parameter.
| -rw-r--r-- | tests/ChangeLog | 4 | ||||
| -rw-r--r-- | tests/line2addr.c | 2 |
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 (")"); |
