keyboard: fix poll missing an argument

This commit is contained in:
Matheus
2023-01-01 12:20:19 -03:00
parent 970f50766a
commit cc59678fc4
+3 -2
View File
@@ -145,10 +145,11 @@ static int read(int *error, int minor, void* buff, size_t count, size_t offset){
}
static int poll(pollfd* fd){
static int poll(int minor, pollfd* fd){
if((fd->events & POLLIN) && devbuff.read != devbuff.write)
fd->revents |= POLLIN;
return 0;
}