commit | 1a3bc1c3679675684c1fb41ddb32ce52c79198fd | [log] [tgz] |
---|---|---|
author | Bartlomiej Sieka <tur@semihalf.com> | Fri Oct 05 09:46:06 2007 +0200 |
committer | Bartlomiej Sieka <tur@semihalf.com> | Fri Oct 05 09:46:06 2007 +0200 |
tree | 5f1684b39595237e137e5453223d5b7bb057f3e1 | |
parent | d1e71d17f7b6d1b29e2d7a0120e6cc4300a8c027 [diff] |
CM5200: Fix missing null-termination in hostname manipulation code Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
diff --git a/board/cm5200/cm5200.c b/board/cm5200/cm5200.c index b74ac08..e2ab5b8 100644 --- a/board/cm5200/cm5200.c +++ b/board/cm5200/cm5200.c
@@ -397,6 +397,7 @@ "operational\n"); /* set the hostname appropriate to the module we're running on */ + hostname[0] = 0x00; compose_hostname(hw_id, hostname); setenv("hostname", hostname);