From: Kay Sievers Date: Fri, 27 Jun 2014 12:20:17 +0000 (+0200) Subject: libudev: fix udev_queue_get_queue_is_empty() logic X-Git-Tag: v215~155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45e60962b7965f32755a76b79a28126299aac149;p=platform%2Fupstream%2Fsystemd.git libudev: fix udev_queue_get_queue_is_empty() logic --- diff --git a/src/libudev/libudev-queue.c b/src/libudev/libudev-queue.c index eb0e096..c32a7ef 100644 --- a/src/libudev/libudev-queue.c +++ b/src/libudev/libudev-queue.c @@ -175,7 +175,7 @@ _public_ int udev_queue_get_udev_is_active(struct udev_queue *udev_queue) **/ _public_ int udev_queue_get_queue_is_empty(struct udev_queue *udev_queue) { - return access("/run/udev/queue", F_OK) >= 0; + return access("/run/udev/queue", F_OK) < 0; } /**