summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-tcpserverd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn-tools/s6-tcpserverd.c')
-rw-r--r--src/conn-tools/s6-tcpserverd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-tools/s6-tcpserverd.c b/src/conn-tools/s6-tcpserverd.c
index 7c567e9..9f540f9 100644
--- a/src/conn-tools/s6-tcpserverd.c
+++ b/src/conn-tools/s6-tcpserverd.c
@@ -367,7 +367,7 @@ int main (int argc, char const *const *argv)
{
size_t iplen, portlen ;
- char fmtip[IP4_FMT] ;
+ char fmtip[IP46_FMT] ;
char fmtport[UINT16_FMT] ;
ip46 loc ;
if (socket_local46(0, &loc, &port) == -1)