aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs_printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xfuncs_printf.c')
-rw-r--r--libbb/xfuncs_printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs_printf.c b/libbb/xfuncs_printf.c
index 6d0fa6e8d..5f56b36de 100644
--- a/libbb/xfuncs_printf.c
+++ b/libbb/xfuncs_printf.c
@@ -420,7 +420,7 @@ int FAST_FUNC xsocket(int domain, int type, int protocol)
420 const char *s = "INET"; 420 const char *s = "INET";
421 if (domain == AF_PACKET) s = "PACKET"; 421 if (domain == AF_PACKET) s = "PACKET";
422 if (domain == AF_NETLINK) s = "NETLINK"; 422 if (domain == AF_NETLINK) s = "NETLINK";
423USE_FEATURE_IPV6(if (domain == AF_INET6) s = "INET6";) 423IF_FEATURE_IPV6(if (domain == AF_INET6) s = "INET6";)
424 bb_perror_msg_and_die("socket(AF_%s)", s); 424 bb_perror_msg_and_die("socket(AF_%s)", s);
425#else 425#else
426 bb_perror_msg_and_die("socket"); 426 bb_perror_msg_and_die("socket");