summaryrefslogtreecommitdiff
path: root/src/rps/gnunet-rps-profiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/gnunet-rps-profiler.c')
-rw-r--r--src/rps/gnunet-rps-profiler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index 0ec2fec71..82aeffb79 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -2375,6 +2375,7 @@ compute_probabilities (uint32_t peer_idx)
to_file_w_len (rps_peers[peer_idx].file_name_probs,
probs_as_str_size,
+ "%s",
probs_as_str);
probs_as_str[0] = '\0';
@@ -2390,6 +2391,7 @@ compute_probabilities (uint32_t peer_idx)
to_file_w_len (rps_peers[peer_idx].file_name_probs_hist,
probs_as_str_size,
+ "%s",
probs_as_str);
GNUNET_free (probs_as_str);
}