aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/common/blowfish.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/common/blowfish.h')
-rw-r--r--hardinfo2/arch/common/blowfish.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/hardinfo2/arch/common/blowfish.h b/hardinfo2/arch/common/blowfish.h
index d4671e45..3a237baf 100644
--- a/hardinfo2/arch/common/blowfish.h
+++ b/hardinfo2/arch/common/blowfish.h
@@ -36,9 +36,7 @@ benchmark_fish(void)
gchar *bdata_path;
- bdata_path = g_strdup_printf("%s/hardinfo/benchmark.data",
- path_data);
-
+ bdata_path = g_build_filename(path_data, "benchmark.data", NULL);
if (!g_file_get_contents(bdata_path, &tmpsrc, NULL, NULL)) {
g_free(bdata_path);
return g_strdup("[Error]\n"