From 6bc7131642e7197d99430c1ccb9d7bbed56c30bc Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Mon, 26 Mar 2012 18:47:35 -0700 Subject: Add DEVPATH to udev_print_event() Signed-off-by: Geoff Levand --- discover/udev.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/discover/udev.c b/discover/udev.c index bc02827..798d744 100644 --- a/discover/udev.c +++ b/discover/udev.c @@ -30,7 +30,12 @@ struct udev { static void udev_print_event(struct event *event) { const char *action, *params[] = { - "DEVNAME", "ID_TYPE", "ID_BUS", "ID_FS_UUID", "ID_FS_LABEL", + "DEVNAME", + "DEVPATH", + "ID_TYPE", + "ID_BUS", + "ID_FS_UUID", + "ID_FS_LABEL", NULL, }; int i; @@ -43,7 +48,6 @@ static void udev_print_event(struct event *event) for (i = 0; params[i]; i++) pb_log("\t%-12s => %s\n", params[i], event_get_param(event, params[i])); - } static void udev_handle_message(struct udev *udev, char *buf, int len) -- cgit v1.2.1