mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 15:10:13 +01:00
test: replace a strcmp with streq
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
358acb5747
commit
fb8a5b040a
1 changed files with 1 additions and 1 deletions
|
|
@ -2792,7 +2792,7 @@ litest_create_uinput_device_from_description(const char *name,
|
|||
udev_device = udev_monitor_receive_device(udev_monitor);
|
||||
litest_assert_notnull(udev_device);
|
||||
udev_action = udev_device_get_action(udev_device);
|
||||
if (strcmp(udev_action, "add") != 0) {
|
||||
if (!streq(udev_action, "add")) {
|
||||
udev_device_unref(udev_device);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue