summaryrefslogtreecommitdiff
path: root/src/regex
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex')
-rw-r--r--src/regex/gnunet-regex-simulation-profiler.c8
-rw-r--r--src/regex/test_regex_api.c2
-rw-r--r--src/regex/test_regex_integration.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/regex/gnunet-regex-simulation-profiler.c b/src/regex/gnunet-regex-simulation-profiler.c
index e8f6d867b..d82b7800a 100644
--- a/src/regex/gnunet-regex-simulation-profiler.c
+++ b/src/regex/gnunet-regex-simulation-profiler.c
@@ -205,17 +205,17 @@ update_meter (struct ProgressMeter *meter)
{
if (meter->completed == 0)
{
- FPRINTF (stdout, "%sProgress: [0%%", meter->startup_string);
+ fprintf (stdout, "%sProgress: [0%%", meter->startup_string);
}
else
- FPRINTF (stdout, "%d%%",
+ fprintf (stdout, "%d%%",
(int) (((float) meter->completed / meter->total) * 100));
}
else if (meter->completed % meter->dotnum == 0)
- FPRINTF (stdout, "%s", ".");
+ fprintf (stdout, "%s", ".");
if (meter->completed + 1 == meter->total)
- FPRINTF (stdout, "%d%%]\n", 100);
+ fprintf (stdout, "%d%%]\n", 100);
fflush (stdout);
}
meter->completed++;
diff --git a/src/regex/test_regex_api.c b/src/regex/test_regex_api.c
index 099f9f68c..7016bf9c4 100644
--- a/src/regex/test_regex_api.c
+++ b/src/regex/test_regex_api.c
@@ -64,7 +64,7 @@ static void
end_badly ()
{
die_task = NULL;
- FPRINTF (stderr, "%s", "Testcase failed (timeout).\n");
+ fprintf (stderr, "%s", "Testcase failed (timeout).\n");
GNUNET_REGEX_announce_cancel (a);
a = NULL;
GNUNET_REGEX_search_cancel (s);
diff --git a/src/regex/test_regex_integration.c b/src/regex/test_regex_integration.c
index d7a58b994..f264c4fae 100644
--- a/src/regex/test_regex_integration.c
+++ b/src/regex/test_regex_integration.c
@@ -75,7 +75,7 @@ end (void *cls)
static void
end_badly ()
{
- FPRINTF (stderr, "%s", "Testcase failed (timeout).\n");
+ fprintf (stderr, "%s", "Testcase failed (timeout).\n");
end (NULL);
ok = 1;
}