From ef8e58d542bac3f2224710efb6ae4ab238fdb4fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= Date: Sat, 22 Dec 2012 12:12:39 -0300 Subject: [PATCH] hog: Fix message text and level when failing to load suspend plugin --- profiles/input/hog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/input/hog.c b/profiles/input/hog.c index b6ac61d6c..a9018f557 100644 --- a/profiles/input/hog.c +++ b/profiles/input/hog.c @@ -885,7 +885,8 @@ static int hog_init(void) err = suspend_init(suspend_callback, resume_callback); if (err < 0) - DBG("Suspend: %s(%d)", strerror(-err), -err); + error("Loading suspend plugin failed: %s (%d)", strerror(-err), + -err); else suspend_supported = TRUE; -- 2.11.0