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