From 4e450ef17a8db08151546ed41b81647db5ba3bfe Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 16 Oct 2019 20:27:20 +0200 Subject: monitor: Add missing newline to error message 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 Acked-by: Florian Westphal --- src/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/monitor.c') diff --git a/src/monitor.c b/src/monitor.c index 40c38114..20810a5d 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; } -- cgit v1.2.3