From 4f5ca991567727a893b3166e389b76155d941998 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 14 Sep 2009 11:47:16 +0000 Subject: [PATCH] Added dprintf() to be able to see which driver hangs on load git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33133 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/device_manager/legacy_drivers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/kernel/device_manager/legacy_drivers.cpp b/src/system/kernel/device_manager/legacy_drivers.cpp index c395b250be..bbe2ecf1ff 100644 --- a/src/system/kernel/device_manager/legacy_drivers.cpp +++ b/src/system/kernel/device_manager/legacy_drivers.cpp @@ -1305,6 +1305,8 @@ legacy_driver_add_preloaded(kernel_args* args) pathStatus = imagePath.Append(image->name); // try to add the driver + dprintf("devfs_add_preloaded_drivers: adding driver %s\n", + imagePath.Path()); status_t addStatus = pathStatus; if (pathStatus == B_OK) addStatus = add_driver(imagePath.Path(), image->id);