summaryrefslogtreecommitdiffstats
path: root/src/udev
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c
index 1596497da8..5f3dc61f09 100644
--- a/src/udev/udev-node.c
+++ b/src/udev/udev-node.c
@@ -181,7 +181,7 @@ static int stack_directory_read_one(int dirfd, const char *id, char **devnode, i
static int stack_directory_find_prioritized_devnode(sd_device *dev, int dirfd, bool add, char **ret) {
_cleanup_closedir_ DIR *dir = NULL;
_cleanup_free_ char *devnode = NULL;
- int r, priority = 0;
+ int r, priority;
const char *id;
assert(dev);