aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-regex-profiler.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-06 14:44:08 +0000
committerChristian Grothoff <christian@grothoff.org>2016-05-06 14:44:08 +0000
commite8cf81fdb3fdaef59b49da8f6e952a3225ab326e (patch)
tree4e5f75d44a9121b32895fdfc5a4177052a7d923d /src/regex/gnunet-regex-profiler.c
parentae8cb91d9961899075a892a3110204bc139c2eb6 (diff)
downloadgnunet-e8cf81fdb3fdaef59b49da8f6e952a3225ab326e.tar.gz
gnunet-e8cf81fdb3fdaef59b49da8f6e952a3225ab326e.zip
fixing compiler warnings
Diffstat (limited to 'src/regex/gnunet-regex-profiler.c')
-rw-r--r--src/regex/gnunet-regex-profiler.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c
index db5432845..f65681848 100644
--- a/src/regex/gnunet-regex-profiler.c
+++ b/src/regex/gnunet-regex-profiler.c
@@ -559,7 +559,10 @@ stats_iterator (void *cls,
559 { 559 {
560 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 560 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
561 "%p -> %s [%s]: %llu\n", 561 "%p -> %s [%s]: %llu\n",
562 peer, subsystem, name, value); 562 peer,
563 subsystem,
564 name,
565 (unsigned long long) value);
563 return GNUNET_OK; 566 return GNUNET_OK;
564 } 567 }
565 size = 568 size =
@@ -569,7 +572,8 @@ stats_iterator (void *cls,
569 peer, 572 peer,
570 subsystem, value, name); 573 subsystem, value, name);
571 if (size != GNUNET_DISK_file_write (data_file, output_buffer, size)) 574 if (size != GNUNET_DISK_file_write (data_file, output_buffer, size))
572 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Unable to write to file!\n"); 575 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
576 "Unable to write to file!\n");
573 577
574 return GNUNET_OK; 578 return GNUNET_OK;
575} 579}