diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-29 20:08:52 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-29 20:08:52 +0200 |
commit | f2b937440c682bca3837263a1bafd78e30b17e4d (patch) | |
tree | 75fee1f072e1886811dad5dc09d63e129532e2aa /udev/udevadm-monitor.c | |
parent | 116254097ad3c07d9f7ed06042dbec7ba4f0f4fd (diff) |
"UDEV_MONITOR_KERNEL/UDEV" -> "kernel/udev"
Diffstat (limited to 'udev/udevadm-monitor.c')
-rw-r--r-- | udev/udevadm-monitor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/udev/udevadm-monitor.c b/udev/udevadm-monitor.c index 43c1cc1163..d8ec066467 100644 --- a/udev/udevadm-monitor.c +++ b/udev/udevadm-monitor.c @@ -125,7 +125,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[]) printf("monitor will print the received events for:\n"); if (print_udev) { - udev_monitor = udev_monitor_new_from_netlink(udev, UDEV_MONITOR_UDEV); + udev_monitor = udev_monitor_new_from_netlink(udev, "udev"); if (udev_monitor == NULL) { rc = 1; goto out; @@ -137,7 +137,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[]) printf("UDEV - the event which udev sends out after rule processing\n"); } if (print_kernel) { - kernel_monitor = udev_monitor_new_from_netlink(udev, UDEV_MONITOR_KERNEL); + kernel_monitor = udev_monitor_new_from_netlink(udev, "kernel"); if (kernel_monitor == NULL) { fprintf(stderr, "unable to subscribe to kernel events\n"); rc = 3; @@ -147,7 +147,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[]) rc = 4; goto out; } - printf("UEVENT - the kernel uevent\n"); + printf("KERNEL - the kernel uevent\n"); } printf("\n"); @@ -174,7 +174,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[]) device = udev_monitor_receive_device(kernel_monitor); if (device == NULL) continue; - print_device(device, "UEVENT", env); + print_device(device, "KERNEL", env); udev_device_unref(device); } |