From: Antoine Busque Date: Mon, 18 Apr 2016 20:24:29 +0000 (-0400) Subject: Fix: make short_src_path from src_path X-Git-Tag: v2.0.0-pre1~1017 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=51a9f65dcf8b3e55791131ec530331a10439026a Fix: make short_src_path from src_path Signed-off-by: Antoine Busque Signed-off-by: Jérémie Galarneau --- diff --git a/lib/debuginfo.c b/lib/debuginfo.c index 3559c22b..21afcb52 100644 --- a/lib/debuginfo.c +++ b/lib/debuginfo.c @@ -129,8 +129,7 @@ struct debug_info_source *debug_info_source_create_from_so(struct so_info *so, } debug_info_src->short_src_path = get_filename_from_path( - src_loc->filename); - + debug_info_src->src_path); } source_location_destroy(src_loc);