aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-05-07 20:14:12 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-05-07 20:14:12 +0200
commita3925cfc4a332acf6d62da162a407673a78c028e (patch)
tree790eedda6c5fa6d3390ed87026bc48fc3ba1692e /src
parentc0e1c65491f9d6726b16f107c25f2e5787e7e2ec (diff)
download0tdns-a3925cfc4a332acf6d62da162a407673a78c028e.tar.gz
0tdns-a3925cfc4a332acf6d62da162a407673a78c028e.zip
change logging approach
Diffstat (limited to 'src')
-rw-r--r--src/0tDNS.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/0tDNS.c b/src/0tDNS.c
index fbd3a78..0170dd6 100644
--- a/src/0tDNS.c
+++ b/src/0tDNS.c
@@ -243,7 +243,7 @@ struct ztdns_instance *ztdns_create_instance(int argc, char **argv)
/* This is an example of how rest of the code shold be
* written/rewritten to use our logging facility.
*/
- ztdns_log(ERROR, "No memory, no fun :(\n");
+ ztdns_error("No memory, no fun :(\n");
return NULL;
}