From 88f25e41c6b68583b3f571c6d440d0acd2a7c50a Mon Sep 17 00:00:00 2001 From: Maximilian Wilhelm Date: Fri, 25 Sep 2020 02:28:05 +0200 Subject: [PATCH] ifupdown: More specific error message. Signed-off-by: Maximilian Wilhelm --- libifupdown/interface-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libifupdown/interface-file.c b/libifupdown/interface-file.c index dc2beb7..31971aa 100644 --- a/libifupdown/interface-file.c +++ b/libifupdown/interface-file.c @@ -310,7 +310,7 @@ handle_inherit(struct lif_dict *collection, const char *filename, size_t lineno, if (!lif_config.allow_any_iface_as_template && !parent->is_template) { - report_error(filename, lineno, "iface %s: could not inherit from %ss: inheritence from interface not allowed", + report_error(filename, lineno, "iface %s: could not inherit from %ss: inheritence from non-template interface not allowed", cur_iface->ifname, target); /* Mark this interface as errornous but carry on */ cur_iface->has_config_error = true;