summaryrefslogtreecommitdiffstats
path: root/board/esd/meesc
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/meesc')
-rw-r--r--board/esd/meesc/meesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/meesc/meesc.c b/board/esd/meesc/meesc.c
index a1b66cbc40..694bd74358 100644
--- a/board/esd/meesc/meesc.c
+++ b/board/esd/meesc/meesc.c
@@ -184,7 +184,7 @@ int checkboard(void)
puts("Board: EtherCAN/2 Gateway");
break;
}
- if (getenv_r("serial#", str, sizeof(str)) > 0) {
+ if (getenv_f("serial#", str, sizeof(str)) > 0) {
puts(", serial# ");
puts(str);
}