summaryrefslogtreecommitdiffstats
path: root/hash.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hash.cxx')
-rw-r--r--hash.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/hash.cxx b/hash.cxx
index de8fd3d2..61caa356 100644
--- a/hash.cxx
+++ b/hash.cxx
@@ -223,7 +223,8 @@ find_stapconf_hash (systemtap_session& s, const hash& base)
if (!create_hashdir(s, result, hashdir))
return;
- s.stapconf_path = hashdir + "/stapconf_" + result;
+ s.stapconf_name = "stapconf_" + result + ".h";
+ s.stapconf_path = hashdir + "/" + s.stapconf_name;
}