diff options
Diffstat (limited to 'libbb/xfuncs_printf.c')
-rw-r--r-- | libbb/xfuncs_printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs_printf.c b/libbb/xfuncs_printf.c index 644134a0e..d36284131 100644 --- a/libbb/xfuncs_printf.c +++ b/libbb/xfuncs_printf.c | |||
@@ -388,7 +388,7 @@ int FAST_FUNC xsocket(int domain, int type, int protocol) | |||
388 | if (domain == AF_PACKET) s = "PACKET"; | 388 | if (domain == AF_PACKET) s = "PACKET"; |
389 | if (domain == AF_NETLINK) s = "NETLINK"; | 389 | if (domain == AF_NETLINK) s = "NETLINK"; |
390 | IF_FEATURE_IPV6(if (domain == AF_INET6) s = "INET6";) | 390 | IF_FEATURE_IPV6(if (domain == AF_INET6) s = "INET6";) |
391 | bb_perror_msg_and_die("socket(AF_%s)", s); | 391 | bb_perror_msg_and_die("socket(AF_%s,%d,%d)", s, type, protocol); |
392 | #else | 392 | #else |
393 | bb_perror_msg_and_die("socket"); | 393 | bb_perror_msg_and_die("socket"); |
394 | #endif | 394 | #endif |