summaryrefslogtreecommitdiff
path: root/src/print_ip_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_ip_addr.c')
-rw-r--r--src/print_ip_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_ip_addr.c b/src/print_ip_addr.c
index 778427c..909a8b2 100644
--- a/src/print_ip_addr.c
+++ b/src/print_ip_addr.c
@@ -56,7 +56,7 @@ const char *get_ip_addr(const char *interface) {
int ret;
if ((ret = getnameinfo(addrp->ifa_addr, len, part, sizeof(part), NULL, 0, NI_NUMERICHOST)) != 0) {
- fprintf(stderr, "getnameinfo(): %s\n", gai_strerror(ret));
+ fprintf(stderr, "i3status: getnameinfo(): %s\n", gai_strerror(ret));
freeifaddrs(ifaddr);
return "no IP";
}