[libosinfo PATCH 5/5] loader: improve warning message from loader_check_id()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"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@xxxxxxxxxx>
---
 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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux