Patchwork [05/24] petitboot: Udev log socket device

login
register
mail settings
Submitter Geoff Levand
Date April 13, 2009, 1:11 a.m.
Message ID <20090413011136.868869156@am.sony.com>
Download mbox | patch
Permalink /patch/25874/
State Accepted
Headers show

Comments

Geoff Levand - April 13, 2009, 1:11 a.m.
To aid problem resolution log the udev socket device to the pb_log.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
 discover/udev.c |    2 ++
 1 file changed, 2 insertions(+)

Patch

--- a/discover/udev.c
+++ b/discover/udev.c
@@ -201,6 +201,8 @@  struct udev *udev_init(struct device_han
 
 	waiter_register(udev->socket, WAIT_IN, udev_process, udev);
 
+	pb_log("%s: waiting on %s\n", __func__, PBOOT_DEVICE_SOCKET);
+
 	return udev;
 
 out_err: