From 9b11bca35b7eb64fd87e8fe67997830e87dbd3f7 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Thu, 21 Jun 2018 15:31:39 +0300 Subject: [PATCH] message() -> stderr.printf() --- src/loader/PluginLoader.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/loader/PluginLoader.vala b/src/loader/PluginLoader.vala index 7851c87..97b187b 100644 --- a/src/loader/PluginLoader.vala +++ b/src/loader/PluginLoader.vala @@ -36,13 +36,13 @@ namespace GObject { public override bool load () { module = GLib.Module.open (path, GLib.ModuleFlags.BIND_LAZY); if (null == module) { - message ("Module '%s' not found", path); + stderr.printf("Cannot load module %s\n", path); return false; } void * plugin_init = null; if (! module.symbol ("plugin_init", out plugin_init)) { - message ("No such symbol: plugin_init in module " + path); + stderr.printf("No such symbol: plugin_init in %s\n", path); return false; }