summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-06-22 23:59:00 +0200
committerWolfgang Denk <wd@denx.de>2007-06-22 23:59:00 +0200
commit1636d1c8529c006d106287cfbc20cd0a246fe1cb (patch)
treecd39e784361c2bcef43cfc38d39b1670ce22d539 /common
parent2dc64451b4c08ffd619372abfdc2506a2e2363b9 (diff)
downloadu-boot-imx-1636d1c8529c006d106287cfbc20cd0a246fe1cb.zip
u-boot-imx-1636d1c8529c006d106287cfbc20cd0a246fe1cb.tar.gz
u-boot-imx-1636d1c8529c006d106287cfbc20cd0a246fe1cb.tar.bz2
Coding stylke cleanup; rebuild CHANGELOG
Diffstat (limited to 'common')
-rw-r--r--common/cmd_log.c4
-rw-r--r--common/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_log.c b/common/cmd_log.c
index 5bf811e..fba8bd8 100644
--- a/common/cmd_log.c
+++ b/common/cmd_log.c
@@ -83,13 +83,13 @@ void logbuff_init_ptrs (void)
/* The post routines have setup the word so we can simply test it */
if (tag != LOGBUFF_MAGIC || (post_word & POST_COLDBOOT)) {
logbuff_reset ();
- }
+ }
#else
/* No post routines, so we do our own checking */
if (tag != LOGBUFF_MAGIC || post_word != LOGBUFF_MAGIC) {
logbuff_reset ();
post_word_store (LOGBUFF_MAGIC);
- }
+ }
#endif
if (log_version == 2 && (long)log->v2.start > (long)log->v2.con)
log->v2.start = log->v2.con;
diff --git a/common/main.c b/common/main.c
index 553ac35..d8123a7 100644
--- a/common/main.c
+++ b/common/main.c
@@ -962,7 +962,7 @@ int readline (const char *const prompt)
n = 0;
continue;
- case 0x17: /* ^W - erase word */
+ case 0x17: /* ^W - erase word */
p=delete_char(console_buffer, p, &col, &n, plen);
while ((n > 0) && (*p != ' ')) {
p=delete_char(console_buffer, p, &col, &n, plen);