aboutsummaryrefslogtreecommitdiff
path: root/tools/tool.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-17 14:36:47 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-17 14:36:47 +0200
commitc182f3f16e56e9533060ffa06b25391e239a28ee (patch)
tree7c76fb69ec544d99b74e795f7596dac125617763 /tools/tool.h
parent0ece4b72db22139db51e8f5f37c25f24c84f3e43 (diff)
downloadnissy-core-c182f3f16e56e9533060ffa06b25391e239a28ee.tar.gz
nissy-core-c182f3f16e56e9533060ffa06b25391e239a28ee.zip
Restore logging to stderr for tools
Diffstat (limited to 'tools/tool.h')
-rw-r--r--tools/tool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tool.h b/tools/tool.h
index ee6c8eb..58721a2 100644
--- a/tools/tool.h
+++ b/tools/tool.h
@@ -9,7 +9,7 @@
9#include "../src/nissy.h" 9#include "../src/nissy.h"
10#include "nissy_extra.h" 10#include "nissy_extra.h"
11 11
12static void log_stdout(const char *, void *); 12static void log_stderr(const char *, void *);
13static double timerun(void (*)(void)); 13static double timerun(void (*)(void));
14static void writetable(const char *, int64_t, const char *); 14static void writetable(const char *, int64_t, const char *);
15static long long int generatetable(const char *, char **, 15static long long int generatetable(const char *, char **,
@@ -22,9 +22,9 @@ static void derivedata_run(
22 const char *, const char *, const char *, const char *); 22 const char *, const char *, const char *, const char *);
23 23
24static void 24static void
25log_stdout(const char *str, void *unused) 25log_stderr(const char *str, void *unused)
26{ 26{
27 fprintf(stdout, "%s", str); 27 fprintf(stderr, "%s", str);
28} 28}
29 29
30static double 30static double

Generated with cgit - Back to sebastiano.tronto.net