summaryrefslogtreecommitdiff
path: root/board/siemens/CCM/ccm.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/siemens/CCM/ccm.c')
-rw-r--r--board/siemens/CCM/ccm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/siemens/CCM/ccm.c b/board/siemens/CCM/ccm.c
index 8053da4..e91ceb0 100644
--- a/board/siemens/CCM/ccm.c
+++ b/board/siemens/CCM/ccm.c
@@ -102,7 +102,7 @@ int checkboard (void)
unsigned char *s;
unsigned char buf[64];
- s = (getenv_r ("serial#", (char *)&buf, sizeof(buf)) > 0) ? buf : NULL;
+ s = (getenv_f("serial#", (char *)&buf, sizeof(buf)) > 0) ? buf : NULL;
puts ("Board: Siemens CCM");