]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxtables: output name of extension on rev detect failure
authorJan Engelhardt <jengelh@medozas.de>
Thu, 5 May 2011 10:54:52 +0000 (12:54 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 8 May 2011 13:13:00 +0000 (15:13 +0200)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
xtables.c

index 235e2b2767d93d5b782fd4fd25b728083f91a029..90161025d8ae60db447a13d7fde8e66ebd1c4db1 100644 (file)
--- 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",