Skip to content
Snippets Groups Projects
Commit dd9f06f0 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Minor code cleanup.

parent 501090aa
No related branches found
No related tags found
No related merge requests found
......@@ -747,7 +747,7 @@ static int cread_line(char *buf, unsigned int *len)
ichar = getcmd_getch();
if ((ichar == '\n') || (ichar == '\r')) {
printf("\n");
putc('\n');
break;
}
......@@ -804,7 +804,7 @@ static int cread_line(char *buf, unsigned int *len)
esc_save[esc_len] = ichar;
esc_len = 1;
} else {
printf("impossible condition #876\n");
puts("impossible condition #876\n");
esc_len = 0;
}
break;
......@@ -940,7 +940,7 @@ int readline (const char *const prompt)
initted = 1;
}
printf("%s",prompt);
puts (prompt);
return cread_line(p, &len);
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment