summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--udev/lib/libudev-queue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5b2d920721..022c4cb011 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ test "$prefix" = NONE && test "$exec_prefix" = NONE && exec_prefix=
dnl /* libudev version */
LIBUDEV_LT_CURRENT=0
-LIBUDEV_LT_REVISION=9
+LIBUDEV_LT_REVISION=10
LIBUDEV_LT_AGE=0
AC_SUBST(LIBUDEV_LT_CURRENT)
AC_SUBST(LIBUDEV_LT_REVISION)
diff --git a/udev/lib/libudev-queue.c b/udev/lib/libudev-queue.c
index 51878dab67..7ec2237010 100644
--- a/udev/lib/libudev-queue.c
+++ b/udev/lib/libudev-queue.c
@@ -194,7 +194,7 @@ int udev_queue_get_seqnum_is_finished(struct udev_queue *udev_queue, unsigned lo
}
snprintf(filename, sizeof(filename), "%s/.udev/queue/%llu",
udev_get_dev_path(udev_queue->udev), seqnum);
- if (stat(filename, &statbuf) == 0)
+ if (lstat(filename, &statbuf) == 0)
return 0;
dbg(udev_queue->udev, "seqnum: %llu finished\n", seqnum);
return 1;