Index: uspace/lib/libc/generic/io/stream.c
===================================================================
--- uspace/lib/libc/generic/io/stream.c	(revision f89979b1e04f036c3b08e99110d2269a0314f7c9)
+++ uspace/lib/libc/generic/io/stream.c	(revision 20f1597006e19ccb446878b9d52dd70c85ec74cc)
@@ -116,8 +116,16 @@
 }
 
-int get_cons_phone(void)
+int get_console_phone(void)
 {
-	open_console();
+	if (console_phone < 0)
+		console_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_CONSOLE, 0, 0);
+	
 	return console_phone;
+}
+
+void console_wait(void)
+{
+	while (console_phone < 0)
+		get_console_phone();
 }
 
