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