Fixed to permit sandbox Captive severity mode: g_warning() -> g_message()
authorlace <>
Mon, 26 Dec 2005 16:45:53 +0000 (16:45 +0000)
committerlace <>
Mon, 26 Dec 2005 16:45:53 +0000 (16:45 +0000)
src/libcaptive/captivemodid/captivemodid.c
src/libcaptive/client/options-module.c

index 3344896..13ff945 100644 (file)
@@ -381,7 +381,7 @@ const gchar *msg;
        msg=_("Unable to load modid database: %s");
        if (fatal)
                g_error(msg,pathname_default);
-       g_warning(msg,pathname_default);
+       g_message(msg,pathname_default);
        return NULL;
 }
 
index ba07eaa..bd89bc3 100644 (file)
@@ -43,7 +43,7 @@ static void module_check_captivemodid(struct captive_options_module *options_mod
                                        "You do not have loaded any .captivemodid.xml database using: --modid-path\n"
                                        "Unable to check MS-Windows module file validity. You should load the database first.\n"
                                        "You may also force loading of the module although it may not be tested: --load-untested"));
-               g_warning(_("Loading possibly INCOMPATIBLE module as no database is present. Forced by: --load-untested: %s"),
+               g_message(_("Loading possibly INCOMPATIBLE module as no database is present. Forced by: --load-untested: %s"),
                                pathname_utf8);
                return;
                }
@@ -55,7 +55,7 @@ static void module_check_captivemodid(struct captive_options_module *options_mod
                                "You should get more recent identifications database: %s\n"
                                "Otherwise you may also force the loading by the option: --load-untested"),
                                pathname_utf8,captive_captivemodid_get_pathname_loaded(captive_options->captivemodid));
-       g_warning(_(
+       g_message(_(
                        "Loading UNTESTED and possibly INCOMPATIBLE module: %s\n"
                        "Although forced by --load-untested you really should get more recent modid database: %s\n"),
                        pathname_utf8,captive_captivemodid_get_pathname_loaded(captive_options->captivemodid));