Index: uspace/app/sysinst/futil.c
===================================================================
--- uspace/app/sysinst/futil.c	(revision 58898d1d7329ba67528bada931d3269d42936354)
+++ uspace/app/sysinst/futil.c	(revision 79ea5af7eec765b8d511aeadc76b09d6eebb8be0)
@@ -40,4 +40,5 @@
 #include <stdlib.h>
 #include <sys/stat.h>
+#include <vfs/vfs.h>
 #include <sys/types.h>
 #include <dirent.h>
@@ -119,5 +120,5 @@
 			return ENOMEM;
 
-		rc = stat(srcp, &s);
+		rc = vfs_stat_path(srcp, &s);
 		if (rc != EOK)
 			return EIO;
@@ -166,5 +167,5 @@
 		return ENOENT;
 
-	if (fstat(sf, &st) != EOK) {
+	if (vfs_stat(sf, &st) != EOK) {
 		close(sf);
 		return EIO;
