Browse Source

Convert last SDL_IOReady()'s 2nd parameter to flags

Conversion missed in https://github.com/libsdl-org/SDL/pull/4897
Mathieu Eyraud 3 years ago
parent
commit
3090812e1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/linux/SDL_udev.c

+ 1 - 1
src/core/linux/SDL_udev.c

@@ -103,7 +103,7 @@ SDL_UDEV_hotplug_update_available(void)
 {
     if (_this->udev_mon != NULL) {
         const int fd = _this->syms.udev_monitor_get_fd(_this->udev_mon);
-        if (SDL_IOReady(fd, SDL_FALSE, 0)) {
+        if (SDL_IOReady(fd, SDL_IOR_READ, 0)) {
             return SDL_TRUE;
         }
     }