diff options
author | Petr Machata <pmachata@redhat.com> | 2013-01-06 17:52:00 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-03-08 22:55:30 +0100 |
commit | 3717f290b3538f7a9fca534c0b96f513884c8745 (patch) | |
tree | 57d2d7e4714b1ea3326ce5e15ed3b0700777abfe /proc.c | |
parent | af1e603fa8afd1ed0f1819a984c57311efbc7f1f (diff) | |
download | ltrace-3717f290b3538f7a9fca534c0b96f513884c8745.tar.gz |
Fix formatting of error messages in proc_add_library
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -864,7 +864,8 @@ proc_add_library(struct process *proc, struct library *lib) while ((libsym = library_each_symbol(lib, libsym, cb_breakpoint_for_symbol, proc)) != NULL) - fprintf(stderr, "Couldn't insert breakpoint for %s to %d: %s.", + fprintf(stderr, + "Couldn't insert breakpoint for %s to %d: %s.\n", libsym->name, proc->pid, strerror(errno)); /* Look through export list of the new library and compare it @@ -874,7 +875,7 @@ proc_add_library(struct process *proc, struct library *lib) while ((lib2 = proc_each_library(proc, lib2, activate_latent_in, lib->exported_names)) != NULL) fprintf(stderr, - "Couldn't activate latent symbols for %s in %d: %s.", + "Couldn't activate latent symbols for %s in %d: %s.\n", libsym->name, proc->pid, strerror(errno)); } |