]> git.mdlowis.com Git - proto/labwc.git/commitdiff
[style] use __func__ in log message
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 24 Feb 2022 01:34:21 +0000 (02:34 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 24 Feb 2022 21:17:51 +0000 (21:17 +0000)
src/menu/menu.c

index 1b7f945928708fa2ac8e944dff8456b3d1965389..ff9a8b6acd875628f24d49b51385107b1ca8b07a 100644 (file)
@@ -519,7 +519,7 @@ void
 menu_process_cursor_motion(struct menu *menu, struct wlr_scene_node *node)
 {
        if (!node) {
-               wlr_log(WLR_ERROR, "menu_process_cursor_motion() node == NULL");
+               wlr_log(WLR_ERROR, "%s() node == NULL", __func__);
                return;
        }
        assert(menu);