From e1639b0bc28420ca01d733749c8db16d5a3fbd0c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 5 May 2011 12:54:52 +0200 Subject: libxtables: output name of extension on rev detect failure Signed-off-by: Jan Engelhardt --- xtables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xtables.c') 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", -- cgit v1.2.3