summaryrefslogtreecommitdiffstats
path: root/xtables.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-05-05 12:54:52 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-05-08 15:13:00 +0200
commite1639b0bc28420ca01d733749c8db16d5a3fbd0c (patch)
tree26c11c9dd3db9c9cb05a2e6f28339126657e3965 /xtables.c
parent752a30dfe4429ec2623a3c1181e1499b87158c5c (diff)
libxtables: output name of extension on rev detect failure
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'xtables.c')
-rw-r--r--xtables.c4
1 files changed, 2 insertions, 2 deletions
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",