projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501090a
)
Minor code cleanup.
author
Wolfgang Denk
<wd@pollux.denx.de>
Fri, 21 Jul 2006 09:34:34 +0000
(11:34 +0200)
committer
Wolfgang Denk
<wd@pollux.denx.de>
Fri, 21 Jul 2006 09:34:34 +0000
(11:34 +0200)
common/main.c
patch
|
blob
|
history
diff --git
a/common/main.c
b/common/main.c
index ed4cb7bc31e268a4ff98b7e01b3f010933d74a7b..ef28b3ffa783ab86302d3d842176d10cab8770b7 100644
(file)
--- a/
common/main.c
+++ b/
common/main.c
@@
-747,7
+747,7
@@
static int cread_line(char *buf, unsigned int *len)
ichar = getcmd_getch();
if ((ichar == '\n') || (ichar == '\r')) {
- p
rintf("\n"
);
+ p
utc('\n'
);
break;
}
@@
-804,7
+804,7
@@
static int cread_line(char *buf, unsigned int *len)
esc_save[esc_len] = ichar;
esc_len = 1;
} else {
- p
rintf
("impossible condition #876\n");
+ p
uts
("impossible condition #876\n");
esc_len = 0;
}
break;
@@
-940,7
+940,7
@@
int readline (const char *const prompt)
initted = 1;
}
- p
rintf("%s",
prompt);
+ p
uts (
prompt);
return cread_line(p, &len);
#else