summaryrefslogtreecommitdiffstats
path: root/src/ctnl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctnl.c')
-rw-r--r--src/ctnl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ctnl.c b/src/ctnl.c
index 10b5f4c..9d5dcb8 100644
--- a/src/ctnl.c
+++ b/src/ctnl.c
@@ -404,8 +404,8 @@ int ctnl_init(void)
else if (CONFIG(flags) & CTD_SYNC_MODE)
STATE(mode) = &sync_mode;
else {
- fprintf(stderr, "WARNING: No running mode specified. "
- "Defaulting to statistics mode.\n");
+ dlog(LOG_WARNING, "No running mode specified. "
+ "Defaulting to statistics mode.");
CONFIG(flags) |= CTD_STATS_MODE;
STATE(mode) = &stats_mode;
}