Skip to contentSkip to conversation

udevmonitor event descriptions swapped

PATCH In review Matthias Schwarzott 2 participants 2 messages Mar 15, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udevmonitor event descriptions swapped

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

Signature · 1 line
Matthias Schwarzott (zzam)
udevmonitor.c +2 -2
index d04cb0d..a9cc061 100644
@@ -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");
 

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

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 2 lines · Matthias Schwarzott

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel