Index: uspace/app/getvc/getvc.c
===================================================================
--- uspace/app/getvc/getvc.c	(revision 103e7d7f2d82106516a9351b5fab8bb6441864a2)
+++ uspace/app/getvc/getvc.c	(revision e3fa92aaa41787bed20718704bd6b84b16ec69f4)
@@ -84,4 +84,10 @@
 	stdout = fopen(argv[1], "w");
 	stderr = fopen(argv[1], "w");
+
+	/*
+	 * FIXME: fopen() should actually detect that we are opening a console
+	 * and it should set line-buffering mode automatically.
+	 */
+	setvbuf(stdout, NULL, _IOLBF, BUFSIZ);
 	
 	if ((stdin == NULL)
@@ -91,5 +97,4 @@
 	
 	version_print(argv[1]);
-	fflush(stdout);
 	task_id_t id = spawn(argv[2]);
 	task_wait(id);
