Linux: Fixed error message.

This commit is contained in:
Philipp Wiesemann 2017-03-04 23:05:11 +01:00
parent 6aa17426a6
commit 42d02890f4

View File

@ -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;
} }