Index: uspace/drv/infrastructure/root/root.c
===================================================================
--- uspace/drv/infrastructure/root/root.c	(revision e882e3a80e03edfdac57ccf9854bee22d5a47032)
+++ uspace/drv/infrastructure/root/root.c	(revision 111d2d6731b1fbc5a2181c92094ca7b8dbaf9d2f)
@@ -204,5 +204,5 @@
 {
 	ddf_msg(LVL_DEBUG, "root_dev_add, device handle=%" PRIun,
-	    dev->handle);
+	    ddf_dev_get_handle(dev));
 
 	/*
