All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Bartoszkiewicz" <embe-ml@magma-net.pl>
To: linux-hotplug@vger.kernel.org
Subject: udevtrigger fails to trigger partition events
Date: Wed, 20 Sep 2006 02:52:00 +0000	[thread overview]
Message-ID: <20060920025200.GA5027@ghostwheel> (raw)

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

             reply	other threads:[~2006-09-20  2:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20  2:52 Michał Bartoszkiewicz [this message]
2006-09-20 10:25 ` udevtrigger fails to trigger partition events Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060920025200.GA5027@ghostwheel \
    --to=embe-ml@magma-net.pl \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.