udevtrigger: fix typo that prevents partition events
authorMichał Bartoszkiewicz <embe-ml@magma-net.pl>
Wed, 20 Sep 2006 10:22:24 +0000 (12:22 +0200)
committerKay Sievers <kay.sievers@suse.de>
Wed, 20 Sep 2006 10:22:24 +0000 (12:22 +0200)
udevtrigger.c

index c5d88b9..2b4ab80 100644 (file)
@@ -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 */