Add missing slash

This commit is contained in:
Michael 2023-10-12 17:28:28 -04:00
parent 7bbe5e55e8
commit b76d20d7d2

View File

@ -1477,7 +1477,7 @@ static void InitDrmInput(void)
{ {
while ((entity = readdir(directory)) != NULL) while ((entity = readdir(directory)) != NULL)
{ {
sprintf(path, "%s%s", DEFAULT_EVDEV_PATH, entity->d_name); sprintf(path, "%s/%s", DEFAULT_EVDEV_PATH, entity->d_name);
// Devices are in the format: // Devices are in the format:
// /dev/input/by-id/usb-Name_of_Device-[event-joystick|event-kbd|event-mouse] // /dev/input/by-id/usb-Name_of_Device-[event-joystick|event-kbd|event-mouse]