This commit is contained in:
Anton Kesy
2026-09-13 20:32:28 +02:00
committed by GitHub
parent 2a15f372a5
commit e0f5a84d8d
25 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ wivrn::fd_base open_uinput_or_throw(int flags = O_WRONLY)
int fd = ::open(p, flags | O_NONBLOCK);
if (fd >= 0)
return fd;
if (errno != ENOENT) // exists but inaccessbile
if (errno != ENOENT) // exists but inaccessible
throw std::system_error(errno, std::generic_category(), "error while opening uinput");
}
throw std::runtime_error("no uinput device found");