From 842e591e8fbec20578d11e407e9d327f2e974276 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Fri, 10 Jan 2014 09:28:37 +0000 Subject: nftables: shorten "could not process rule in batch" message Remove the "in batch" part, it makes most messages exceed a single line, the user doesn't care about this and we process even single rules in "batches". Signed-off-by: Patrick McHardy --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 32a991a6..e8be423d 100644 --- a/src/main.c +++ b/src/main.c @@ -183,8 +183,8 @@ static int nft_netlink(struct parser_state *state, struct list_head *msgs) if (err->seqnum == cmd->seqnum || err->seqnum == batch_seqnum) { netlink_io_error(&ctx, &cmd->location, - "Could not process rule in batch: %s", - strerror(err->err)); + "Could not process rule: %s", + strerror(err->err)); if (err->seqnum == cmd->seqnum) { mnl_err_list_free(err); break; -- cgit v1.2.3