From 088c62e267022bc640185f2f079b73fc420bbfcb Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Mon, 11 Feb 2013 04:45:38 -0700 Subject: [PATCH] Use __func__ in log message instead of hard coded function name --- src/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 8a2504b0..994f8146 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -327,7 +327,7 @@ weston_surface_to_global_float(struct weston_surface *surface, if (fabsf(v.f[3]) < 1e-6) { weston_log("warning: numerical instability in " - "weston_surface_to_global(), divisor = %g\n", + "%s(), divisor = %g\n", __func__, v.f[3]); *x = 0; *y = 0;