diff options
author | Phil Sutter <phil@nwl.cc> | 2019-10-16 20:27:20 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-10-17 12:47:23 +0200 |
commit | 4e450ef17a8db08151546ed41b81647db5ba3bfe (patch) | |
tree | 543364b64c48a133e7538b71cd4162526bedc4a5 /src | |
parent | 0ef5429f87dee067c8a70ef9d5b477198c803fcc (diff) |
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 <phil@nwl.cc>
Acked-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |