chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce4627
)
Output watch handle in udevadm info.
author
Scott James Remnant
<scott@ubuntu.com>
Mon, 23 Feb 2009 17:48:18 +0000
(17:48 +0000)
committer
Scott James Remnant
<scott@ubuntu.com>
Mon, 23 Feb 2009 17:48:18 +0000
(17:48 +0000)
udev/udevadm-info.c
patch
|
blob
|
history
diff --git
a/udev/udevadm-info.c
b/udev/udevadm-info.c
index 6fe1f8631328932f6aa64ffb16bd91e1d862ef40..094c6ce2a8da64e637758d8ecc0c26d4d57e56e9 100644
(file)
--- 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]);