summaryrefslogtreecommitdiff
path: root/udev/udev-event.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-24 00:22:23 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-24 00:22:23 +0200
commit8958da13c72024c4eaa2996b86fce2959e452db4 (patch)
tree4edf78daf3d43092edf7e91ff5e9943ccd6aa3b6 /udev/udev-event.c
parentc7c32e9c9835a0bdaee931f33ac0fc86a1e4c415 (diff)
libudev: list - use bit flags for 'sort' and 'unique'
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r--udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 4af3e08f60..e5683cfc2a 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -1075,7 +1075,7 @@ int udev_event_execute_run(struct udev_event *event, const sigset_t *sigmask)
udev_event_apply_format(event, cmd, program, sizeof(program));
envp = udev_device_get_properties_envp(event->dev);
if (udev_event_spawn(event, program, envp, sigmask, NULL, 0) < 0) {
- if (udev_list_entry_get_flags(list_entry))
+ if (udev_list_entry_get_num(list_entry))
err = -1;
}
}