diff options
Diffstat (limited to 'board/esd/cms700')
-rw-r--r-- | board/esd/cms700/cms700.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/cms700/cms700.c b/board/esd/cms700/cms700.c index 20346e1..dcd49d4 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); |