From: Jean-Philippe Orsini Date: Thu, 26 Apr 2012 10:28:35 +0000 (+0000) Subject: code style X-Git-Tag: v0.8.0.5~399 X-Git-Url: https://git.wpitchoune.net/gitweb/?a=commitdiff_plain;h=cb3ae2042f414d566e93c90c38205a4e3ecff3f2;hp=105b82040826bd4215b17250001d110645e51e09;p=psensor.git code style --- 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"); } }