Udev log socket device
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sun, 12 Apr 2009 15:11:41 +0000 (15:11 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 30 Jun 2009 07:29:07 +0000 (15:29 +0800)
To aid problem resolution log the udev socket device to the pb_log.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/udev.c

index 54967128f6006db813332ebc886821118d3d25b3..dd9fc7ccea6d77cd8fbb8a5fa33a9cbf01cfbedb 100644 (file)
@@ -201,6 +201,8 @@ struct udev *udev_init(struct device_handler *handler)
 
        waiter_register(udev->socket, WAIT_IN, udev_process, udev);
 
+       pb_log("%s: waiting on %s\n", __func__, PBOOT_DEVICE_SOCKET);
+
        return udev;
 
 out_err: