These shouldn't happen in practice and printing to stderr is not the
right thing either, but fix this anyway.

Fixes: f9563c0feb24d ("src: add events reporting")
Signed-off-by: Phil Sutter <p...@nwl.cc>
---
 src/monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/monitor.c b/src/monitor.c
index 40c381149cdaa..20810a5de0cfb 100644
--- a/src/monitor.c
+++ b/src/monitor.c
@@ -388,7 +388,7 @@ static int netlink_events_setelem_cb(const struct nlmsghdr 
*nlh, int type,
 
        set = set_lookup_global(family, table, setname, &monh->ctx->nft->cache);
        if (set == NULL) {
-               fprintf(stderr, "W: Received event for an unknown set.");
+               fprintf(stderr, "W: Received event for an unknown set.\n");
                goto out;
        }
 
-- 
2.23.0

Reply via email to