mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
keyboard: fix poll missing an argument
This commit is contained in:
+3
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user