]> err.no Git - systemd/commitdiff
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 c5d88b9ee0087e841bf7ca4a18a4b53d3061a683..2b4ab80901c803a467af6437063628367f02d31a 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 */