[style] use __func__ in log message

This commit is contained in:
Consolatis 2022-02-24 02:34:21 +01:00 committed by Johan Malm
parent 9c4bacc9b7
commit 00ff00d9f9

View file

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