From: Patrick McHardy Date: Fri, 10 Jan 2014 09:28:37 +0000 (+0000) Subject: nftables: shorten "could not process rule in batch" message X-Git-Tag: v0.099~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=842e591e8fbec20578d11e407e9d327f2e974276;p=thirdparty%2Fnftables.git 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 --- 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;