Index: uspace/lib/c/generic/vfs/vfs.c
===================================================================
--- uspace/lib/c/generic/vfs/vfs.c	(revision f6b6b4082d1cfd61c1bca4d6ce9cd55a0efc3faf)
+++ uspace/lib/c/generic/vfs/vfs.c	(revision c72561950ed237c5932e68065f808999e720da62)
@@ -151,5 +151,5 @@
 	}
 	int root = vfs_root();
-	if (root == -1) {
+	if (root < 0) {
 		free(p);
 		return ENOENT;
