[Libosinfo] [libosinfo PATCH 5/5] loader: improve warning message from loader_check_id()
Fabiano Fidêncio
fidencio at redhat.com
Wed Jan 9 10:42:34 UTC 2019
"should" needs to be changed to "must" as since commit 00f258a6be
libosinfo refuses to load non-compliant named files.
Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
osinfo/osinfo_loader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/osinfo/osinfo_loader.c b/osinfo/osinfo_loader.c
index 372871e..8f7b2bf 100644
--- a/osinfo/osinfo_loader.c
+++ b/osinfo/osinfo_loader.c
@@ -554,7 +554,7 @@ static gboolean osinfo_loader_check_id(const gchar *relpath,
g_free(suffix);
if (!g_str_equal(extension ? reldir : relpath, name)) {
- g_warning("Entity %s should be in file %s not %s",
+ g_warning("Entity %s must be in file %s not %s",
id, name, extension ? reldir : relpath);
goto cleanup;
}
--
2.19.2
More information about the Libosinfo
mailing list