Skip to content

Commit df059ba

Browse files
alcharkCopilot
andauthored
drm: Don't hardcode the function name in debug logs
Switch to using the __func__ parameter instead of hardcoding a function name in the format string Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3736424 commit df059ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

platform/drm/cog-platform-drm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ init_input(CogDrmPlatform *platform)
12961296
if (!seat_name || !*seat_name)
12971297
seat_name = "seat0";
12981298

1299-
g_debug("init_input: assigning libinput to seat '%s'", seat_name);
1299+
g_debug("%s: assigning libinput to seat '%s'", __func__, seat_name);
13001300

13011301
int ret = libinput_udev_assign_seat(input_data.libinput, seat_name);
13021302
if (ret)

0 commit comments

Comments
 (0)