aboutsummaryrefslogtreecommitdiff
path: root/plugins/mm-plugin-mbm.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-01-23 20:51:48 -0600
committerDan Williams <dcbw@redhat.com>2011-01-23 20:51:48 -0600
commit16039244bb08cb4f62754c710be2052eaef32549 (patch)
tree689477732fdaf58c7e5b9f1774cd68519dcd896b /plugins/mm-plugin-mbm.c
parentf85b014d843ecb2259e9b2e21f44c24ff8ff5fdf (diff)
core: rework logging
Make it more flexible, add logging to a file, and absolute and relative timestamps.
Diffstat (limited to 'plugins/mm-plugin-mbm.c')
-rw-r--r--plugins/mm-plugin-mbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-plugin-mbm.c b/plugins/mm-plugin-mbm.c
index dd64cc66..6684ff9a 100644
--- a/plugins/mm-plugin-mbm.c
+++ b/plugins/mm-plugin-mbm.c
@@ -84,7 +84,7 @@ supports_port (MMPluginBase *base,
client = g_udev_client_new (sys);
if (!client) {
- g_warning ("mbm: could not get udev client.");
+ g_warn_if_fail (client != NULL);
return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
}