summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udevtrigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevtrigger.c b/udevtrigger.c
index c5d88b9ee0..2b4ab80901 100644
--- a/udevtrigger.c
+++ b/udevtrigger.c
@@ -321,7 +321,7 @@ static void scan_block(void)
strlcat(dirname, dent->d_name, sizeof(dirname));
if (attr_filtered(dirname))
continue;
- if (device_list_insert(dirname) != 0);
+ if (device_list_insert(dirname) != 0)
continue;
/* look for partitions */