From cff1ab5fdf116183845581953ee4d8e2665770d4 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 26 Aug 2018 23:05:45 +0200 Subject: [PATCH] ip/ipconfig: add missing {} as DEBUG() is a macro --- sys/src/cmd/ip/ipconfig/ipv6.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/src/cmd/ip/ipconfig/ipv6.c b/sys/src/cmd/ip/ipconfig/ipv6.c index 439985454..a4de8fca4 100644 --- a/sys/src/cmd/ip/ipconfig/ipv6.c +++ b/sys/src/cmd/ip/ipconfig/ipv6.c @@ -445,11 +445,12 @@ sendrs(int fd, uchar *dst) pktlen += 8 * llao->len; } - if(write(fd, rs, pktlen) != pktlen) + if(write(fd, rs, pktlen) != pktlen){ DEBUG("sendrs: write failed, pkt size %d", pktlen); - else + } else { DEBUG("sendrs: sent solicitation to %I from %I on %s", rs->dst, rs->src, conf.dev); + } } /*