aboutsummaryrefslogtreecommitdiff
path: root/board/siemens/SCM/scm.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/siemens/SCM/scm.c')
-rw-r--r--board/siemens/SCM/scm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/siemens/SCM/scm.c b/board/siemens/SCM/scm.c
index e0611fe37..926e49127 100644
--- a/board/siemens/SCM/scm.c
+++ b/board/siemens/SCM/scm.c
@@ -209,7 +209,7 @@ const iop_conf_t iop_conf_tab[4][32] = {
int checkboard (void)
{
char str[64];
- int i = getenv_r ("serial#", str, sizeof (str));
+ int i = getenv_f("serial#", str, sizeof (str));
puts ("Board: ");