From cb3ae2042f414d566e93c90c38205a4e3ecff3f2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Thu, 26 Apr 2012 10:28:35 +0000 Subject: [PATCH] code style --- src/ui_notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui_notify.c b/src/ui_notify.c index fd80885..d547845 100644 --- a/src/ui_notify.c +++ b/src/ui_notify.c @@ -42,7 +42,7 @@ void ui_notify(struct psensor *sensor, struct ui_psensor *ui) log_debug("last_notification %d", last_notification_tv.tv_sec); if (gettimeofday(&t, NULL) != 0) { - log_printf(LOG_ERR, _("gettimeofday failed")); + log_err(_("gettimeofday failed")); return; } @@ -77,6 +77,6 @@ void ui_notify(struct psensor *sensor, struct ui_psensor *ui) g_object_unref(notif); } else { - log_printf(LOG_ERR, "notify not initialized"); + log_err("notify not initialized"); } } -- 2.7.4