From d0ab30eac83e0c5cc27499b784faff318d6f3445 Mon Sep 17 00:00:00 2001 From: Denis Date: Tue, 5 Dec 2023 01:12:41 +0100 Subject: [PATCH] debug msg --- platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.c b/platform.c index 9e0a0ec..b9ee7de 100644 --- a/platform.c +++ b/platform.c @@ -478,7 +478,7 @@ static int hidraw_cycle_to_mode(const char* const path, int controller_mode) { int fd = open(hidraw_path, O_RDWR); if (fd == -1) { - fprintf(stderr, "Error opening hidraw device\n"); + fprintf(stderr, "Error opening hidraw device %s\n", hidraw_path); res = -EIO;