summaryrefslogtreecommitdiff
path: root/board/esd/cms700/cms700.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/cms700/cms700.c')
-rw-r--r--board/esd/cms700/cms700.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/cms700/cms700.c b/board/esd/cms700/cms700.c
index 20346e15ac..dcd49d4faa 100644
--- a/board/esd/cms700/cms700.c
+++ b/board/esd/cms700/cms700.c
@@ -96,7 +96,7 @@ int checkboard (void)
puts ("Board: ");
- if (getenv_r("serial#", str, sizeof(str)) == -1) {
+ if (getenv_f("serial#", str, sizeof(str)) == -1) {
puts ("### No HW ID - assuming CMS700");
} else {
puts(str);