aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}