diff --git a/src/core.c b/src/core.c index 2b69fc82..72223398 100644 --- a/src/core.c +++ b/src/core.c @@ -4661,7 +4661,7 @@ static void EventThreadSpawn(char *device) fd = open(device, O_RDONLY | O_NONBLOCK); if (fd < 0) { - TRACELOG(LOG_WARNING, "RPI: Failed to open input device (error: %d)", device, worker->fd); + TRACELOG(LOG_WARNING, "RPI: Failed to open input device %s", device); return; } worker->fd = fd;