linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udevtrigger fails to trigger partition events
@ 2006-09-20  2:52 Michał Bartoszkiewicz
  2006-09-20 10:25 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Bartoszkiewicz @ 2006-09-20  2:52 UTC (permalink / raw)
  To: linux-hotplug

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) != 0);
+			if (device_list_insert(dirname) != 0)
 				continue;
 
 			/* look for partitions */

-- 
 __  ____________________________________________________________________
|  \/  |          Micha³ Bartoszkiewicz <embe@magma-net.pl>          | _ )
| |\/| |                          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=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-20 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20  2:52 udevtrigger fails to trigger partition events Michał Bartoszkiewicz
2006-09-20 10:25 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).