diff options
author | Daniel Golle <daniel@makrotopia.org> | 2020-11-21 22:58:44 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-11-21 23:46:43 +0000 |
commit | d2e10ef670311dd88f9b86288fcbfbad0876f3cb (patch) | |
tree | 15537782e052af3c7cd9ff81790329c992f5e323 /src | |
parent | 8ea5327297c6dc43c9bea725ca10cd379533ae2c (diff) | |
download | gnunet-d2e10ef670311dd88f9b86288fcbfbad0876f3cb.tar.gz gnunet-d2e10ef670311dd88f9b86288fcbfbad0876f3cb.zip |
rps: fix another 'format not a string literal' warning
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/rps/gnunet-rps-profiler.c | 2 |
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) | |||
2375 | 2375 | ||
2376 | to_file_w_len (rps_peers[peer_idx].file_name_probs, | 2376 | to_file_w_len (rps_peers[peer_idx].file_name_probs, |
2377 | probs_as_str_size, | 2377 | probs_as_str_size, |
2378 | "%s", | ||
2378 | probs_as_str); | 2379 | probs_as_str); |
2379 | 2380 | ||
2380 | probs_as_str[0] = '\0'; | 2381 | probs_as_str[0] = '\0'; |
@@ -2390,6 +2391,7 @@ compute_probabilities (uint32_t peer_idx) | |||
2390 | 2391 | ||
2391 | to_file_w_len (rps_peers[peer_idx].file_name_probs_hist, | 2392 | to_file_w_len (rps_peers[peer_idx].file_name_probs_hist, |
2392 | probs_as_str_size, | 2393 | probs_as_str_size, |
2394 | "%s", | ||
2393 | probs_as_str); | 2395 | probs_as_str); |
2394 | GNUNET_free (probs_as_str); | 2396 | GNUNET_free (probs_as_str); |
2395 | } | 2397 | } |