Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 4543 → Rev 4544

/trunk/uspace/app/getvc/getvc.c
84,6 → 84,12
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)
|| (stdout == NULL)
|| (stderr == NULL))
90,7 → 96,6
return -2;
version_print(argv[1]);
fflush(stdout);
task_id_t id = spawn(argv[2]);
task_wait(id);