From: Jan Engelhardt Date: Thu, 5 May 2011 10:54:52 +0000 (+0200) Subject: libxtables: output name of extension on rev detect failure X-Git-Tag: v1.4.11~18^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1639b0bc28420ca01d733749c8db16d5a3fbd0c;p=thirdparty%2Fiptables.git libxtables: output name of extension on rev detect failure Signed-off-by: Jan Engelhardt --- diff --git a/xtables.c b/xtables.c index 235e2b27..90161025 100644 --- a/xtables.c +++ b/xtables.c @@ -674,10 +674,10 @@ static int compatible_revision(const char *name, uint8_t revision, int opt) if (errno == EPERM) { /* revision 0 is always supported. */ if (revision != 0) - fprintf(stderr, "Could not determine whether " + fprintf(stderr, "%s: Could not determine whether " "revision %u is supported, " "assuming it is.\n", - revision); + name, revision); return 1; } fprintf(stderr, "Could not open socket to kernel: %s\n",