linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] udevmonitor event descriptions swapped
@ 2007-03-15 11:12 Matthias Schwarzott
  2007-03-15 15:39 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Schwarzott @ 2007-03-15 11:12 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

Hi!

I thinkfor the udevmonitor code to select if one want to see udev or kernel 
events, the descriptions are swapped.

# udevmonitor --udev
udevmonitor will print the received events for:
UEVENT the kernel uevent

# udevmonitor --kernel
udevmonitor will print the received events for:
UDEV the event which udev sends out after rule processing

Attached patch will correct this.

Matthias

-- 
Matthias Schwarzott (zzam)

[-- Attachment #2: udevmonitor-event-description.patch --]
[-- Type: text/x-diff, Size: 578 bytes --]

diff --git a/udevmonitor.c b/udevmonitor.c
index d04cb0d..a9cc061 100644
--- a/udevmonitor.c
+++ b/udevmonitor.c
@@ -194,13 +194,13 @@ int main(int argc, char *argv[])
 		retval = init_udev_monitor_socket();
 		if (retval)
 			goto out;
-		printf("UEVENT the kernel uevent\n");
+		printf("UDEV the event which udev sends out after rule processing\n");
 	}
 	if (kernel) {
 		retval = init_uevent_netlink_sock();
 		if (retval)
 			goto out;
-		printf("UDEV the event which udev sends out after rule processing\n");
+		printf("UEVENT the kernel uevent\n");
 	}
 	printf("\n");
 

[-- Attachment #3: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
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=DEVDEV

[-- Attachment #4: Type: text/plain, Size: 226 bytes --]

_______________________________________________
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

* Re: [PATCH] udevmonitor event descriptions swapped
  2007-03-15 11:12 [PATCH] udevmonitor event descriptions swapped Matthias Schwarzott
@ 2007-03-15 15:39 ` Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2007-03-15 15:39 UTC (permalink / raw)
  To: linux-hotplug

On 3/15/07, Matthias Schwarzott <zzam@gentoo.org> wrote:
> I thinkfor the udevmonitor code to select if one want to see udev or kernel
> events, the descriptions are swapped.

Yeah, that was wrong. Applied.

Thanks,
Kay

-------------------------------------------------------------------------
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	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-15 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 11:12 [PATCH] udevmonitor event descriptions swapped Matthias Schwarzott
2007-03-15 15:39 ` 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).