Index: uspace/srv/fs/tmpfs/tmpfs.c
===================================================================
--- uspace/srv/fs/tmpfs/tmpfs.c	(revision fcd7053c1b7bca76e2258a6b2b5ce5b3b416f00f)
+++ uspace/srv/fs/tmpfs/tmpfs.c	(revision 561db3f87662526e5b14ca49efc6c1229d0a8a2b)
@@ -127,16 +127,13 @@
 int main(int argc, char **argv)
 {
-	int vfs_phone;
-
 	printf(NAME ": HelenOS TMPFS file system server\n");
-
-	vfs_phone = ipc_connect_me_to(PHONE_NS, SERVICE_VFS, 0, 0);
-	while (vfs_phone < EOK) {
-		usleep(10000);
-		vfs_phone = ipc_connect_me_to(PHONE_NS, SERVICE_VFS, 0, 0);
+	
+	int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
+	if (vfs_phone < EOK) {
+		printf(NAME ": Unable to connect to VFS\n");
+		return -1;
 	}
 	
-	int rc;
-	rc = fs_register(vfs_phone, &tmpfs_reg, &tmpfs_vfs_info,
+	int rc = fs_register(vfs_phone, &tmpfs_reg, &tmpfs_vfs_info,
 	    tmpfs_connection);
 	if (rc != EOK) {
