From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-2?Q?Micha=B3?= Bartoszkiewicz Date: Wed, 20 Sep 2006 02:52:00 +0000 Subject: udevtrigger fails to trigger partition events Message-Id: <20060920025200.GA5027@ghostwheel> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hello! The udevtrigger program from the current git version of udev fails to trigger partition events, because of extra semicolon in the scan_block function. diff --git a/udevtrigger.c b/udevtrigger.c index c5d88b9..2b4ab80 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) !=3D 0); + if (device_list_insert(dirname) !=3D 0) continue; =20 /* look for partitions */ --=20 __ ____________________________________________________________________ | \/ | Micha=B3 Bartoszkiewicz | _ ) | |\/| | GG:2298240 | _ \ |_| |_|_For all resources, whatever it is, you need more. [RFC1925]_|___/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel