aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tor-resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tor-resolve.c')
-rw-r--r--src/tools/tor-resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index 7af279af1e..60daaaff0a 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -136,7 +136,7 @@ do_resolve(const char *hostname, uint32_t sockshost, uint16_t socksport,
}
if ((len = build_socks4a_resolve_request(&req, "", hostname))<0) {
- err("Error generating SOCKS request");
+ err(LD_BUG,"Error generating SOCKS request");
return -1;
}
@@ -236,7 +236,7 @@ main(int argc, char **argv)
}
if (network_init()<0) {
- err("Error initializing network; exiting.");
+ err(LD_NET,"Error initializing network; exiting.");
return 1;
}