summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-15 17:09:54 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-15 17:09:54 +0200
commit7b54a461ab5fde77ab74cebddecfb683a8fc504e (patch)
treec6214808591c9682533c5eda99b808a24422284f /lib
parent45621edf1f5040f5d24ddbfe319fa6e4d18ac76c (diff)
downloadabrt-7b54a461ab5fde77ab74cebddecfb683a8fc504e.tar.gz
abrt-7b54a461ab5fde77ab74cebddecfb683a8fc504e.tar.xz
abrt-7b54a461ab5fde77ab74cebddecfb683a8fc504e.zip
small correction to previous commit (forgot .debug suffix)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/CCpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index 18c3bfbb..cc9eaf4a 100644
--- a/lib/Plugins/CCpp.cpp
+++ b/lib/Plugins/CCpp.cpp
@@ -353,7 +353,7 @@ static void InstallDebugInfos(const std::string& pDebugDumpDir)
if (word2[0] && word2[1] && is_hexstr(word2))
{
struct stat sb;
- char *fn = xasprintf("/usr/lib/debug/.build-id/%.2s/%s", word2, word2 + 2);
+ char *fn = xasprintf("/usr/lib/debug/.build-id/%.2s/%s.debug", word2, word2 + 2);
/* Not lstat: this is a symlink and we want link's TARGET to exist */
file_exists = stat(fn, &sb) == 0 && S_ISREG(sb.st_mode);
free(fn);