summaryrefslogtreecommitdiff
path: root/board/cm5200
diff options
context:
space:
mode:
Diffstat (limited to 'board/cm5200')
-rw-r--r--board/cm5200/cm5200.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/cm5200/cm5200.c b/board/cm5200/cm5200.c
index b74ac08bce3..e2ab5b8e265 100644
--- a/board/cm5200/cm5200.c
+++ b/board/cm5200/cm5200.c
@@ -397,6 +397,7 @@ int misc_init_r(void)
"operational\n");
/* set the hostname appropriate to the module we're running on */
+ hostname[0] = 0x00;
compose_hostname(hw_id, hostname);
setenv("hostname", hostname);