summaryrefslogtreecommitdiff
path: root/udev/udevadm-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm-info.c')
-rw-r--r--udev/udevadm-info.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index 6fe1f86313..094c6ce2a8 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -153,6 +153,10 @@ static void print_record(struct udev_device *device)
if (i != 0)
printf("R:%u\n", i);
+ i = udev_device_get_watch_handle(device);
+ if (i >= 0)
+ printf("W:%u\n", i);
+
udev_list_entry_foreach(list_entry, udev_device_get_devlinks_list_entry(device)) {
len = strlen(udev_get_dev_path(udev_device_get_udev(device)));
printf("S: %s\n", &udev_list_entry_get_name(list_entry)[len+1]);