summaryrefslogtreecommitdiff
path: root/udev/udevadm-monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm-monitor.c')
-rw-r--r--udev/udevadm-monitor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/udev/udevadm-monitor.c b/udev/udevadm-monitor.c
index 26efa528af..6cfad2d3b8 100644
--- a/udev/udevadm-monitor.c
+++ b/udev/udevadm-monitor.c
@@ -171,8 +171,8 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[])
list = udev_device_get_properties_list(device);
while (list != NULL) {
- printf("%s=%s\n", udev_list_get_name(list), udev_list_get_value(list));
- list = udev_list_get_next(list);
+ printf("%s=%s\n", udev_list_entry_get_name(list), udev_list_entry_get_value(list));
+ list = udev_list_entry_get_next(list);
}
printf("\n");
}
@@ -192,8 +192,8 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[])
list = udev_device_get_properties_list(device);
while (list != NULL) {
- printf("%s=%s\n", udev_list_get_name(list), udev_list_get_value(list));
- list = udev_list_get_next(list);
+ printf("%s=%s\n", udev_list_entry_get_name(list), udev_list_entry_get_value(list));
+ list = udev_list_entry_get_next(list);
}
printf("\n");
}