From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Schwarzott Date: Thu, 15 Mar 2007 11:12:44 +0000 Subject: [PATCH] udevmonitor event descriptions swapped Message-Id: <200703151212.44702.zzam@gentoo.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Boundary-00=_soS+F8Qyy2cUsAj" List-Id: To: linux-hotplug@vger.kernel.org --Boundary-00=_soS+F8Qyy2cUsAj Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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) --Boundary-00=_soS+F8Qyy2cUsAj Content-Type: text/x-diff; charset="utf-8"; name="udevmonitor-event-description.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="udevmonitor-event-description.patch" 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"); --Boundary-00=_soS+F8Qyy2cUsAj Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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 --Boundary-00=_soS+F8Qyy2cUsAj Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --Boundary-00=_soS+F8Qyy2cUsAj--