summaryrefslogtreecommitdiff
path: root/board/mpl/pati/pati.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mpl/pati/pati.c')
-rw-r--r--board/mpl/pati/pati.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpl/pati/pati.c b/board/mpl/pati/pati.c
index e12bc423f4..7f1164a5c7 100644
--- a/board/mpl/pati/pati.c
+++ b/board/mpl/pati/pati.c
@@ -353,7 +353,7 @@ int checkboard (void)
puts ("\nBoard: ");
reg=in32(PLD_CONFIG_BASE+PLD_BOARD_TIMING);
rev=(char)(SYSCNTR_BREV(reg)+'A');
- i = getenv_r ("serial#", s, 32);
+ i = getenv_f("serial#", s, 32);
if ((i == -1)) {
puts ("### No HW ID - assuming " BOARD_NAME);
printf(" Rev. %c\n",rev);