Minor cleanup.

This commit is contained in:
Joachim Nilsson committed 2013-06-06 18:19:27 +02:00
1 parent f96fb855ce
commit 4f2cf52eff
1 file changed
+1 -1
+1 -1
View File
@@ -550,7 +550,7 @@ pid_t run_getty(char *cmd, char *args[], int console)
} }
if (console) { if (console) {
i = write(STDERR_FILENO, msg, sizeof(msg) - 1); i = write(STDERR_FILENO, msg, sizeof(msg));
while (read(STDIN_FILENO, &c, 1) == 1 && c != '\n') while (read(STDIN_FILENO, &c, 1) == 1 && c != '\n')
continue; continue;
} }