summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
index 43662edb8b..6df37b47df 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
@@ -296,7 +296,7 @@ static void HotplugThreadFunc()
udev* const udev = udev_new();
Common::ScopeGuard udev_guard([udev] { udev_unref(udev); });
- ASSERT_MSG(PAD, udev != nullptr, "Couldn't initialize libudev.");
+ ASSERT_MSG(CONTROLLERINTERFACE, udev != nullptr, "Couldn't initialize libudev.");
// Set up monitoring
udev_monitor* const monitor = udev_monitor_new_from_netlink(udev, "udev");
@@ -366,7 +366,7 @@ static void StartHotplugThread()
}
s_wakeup_eventfd = eventfd(0, 0);
- ASSERT_MSG(PAD, s_wakeup_eventfd != -1, "Couldn't create eventfd.");
+ ASSERT_MSG(CONTROLLERINTERFACE, s_wakeup_eventfd != -1, "Couldn't create eventfd.");
s_hotplug_thread = std::thread(HotplugThreadFunc);
}
@@ -406,7 +406,7 @@ void PopulateDevices()
// this ever changes, hopefully udev will take care of this.
udev* const udev = udev_new();
- ASSERT_MSG(PAD, udev != nullptr, "Couldn't initialize libudev.");
+ ASSERT_MSG(CONTROLLERINTERFACE, udev != nullptr, "Couldn't initialize libudev.");
// List all input devices
udev_enumerate* const enumerate = udev_enumerate_new(udev);