mirror of https://github.com/encounter/SDL.git
Linux: Fixed error message.
This commit is contained in:
parent
6aa17426a6
commit
42d02890f4
|
@ -216,7 +216,7 @@ SDL_UDEV_Scan(void)
|
||||||
enumerate = _this->udev_enumerate_new(_this->udev);
|
enumerate = _this->udev_enumerate_new(_this->udev);
|
||||||
if (enumerate == NULL) {
|
if (enumerate == NULL) {
|
||||||
SDL_UDEV_Quit();
|
SDL_UDEV_Quit();
|
||||||
SDL_SetError("udev_monitor_new_from_netlink() failed");
|
SDL_SetError("udev_enumerate_new() failed");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue