diff options
Diffstat (limited to 'board/esd/dp405/dp405.c')
-rw-r--r-- | board/esd/dp405/dp405.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/dp405/dp405.c b/board/esd/dp405/dp405.c index 228a570..5878092 100644 --- a/board/esd/dp405/dp405.c +++ b/board/esd/dp405/dp405.c @@ -86,7 +86,7 @@ int misc_init_r (void) int checkboard (void) { char str[64]; - int i = getenv_r ("serial#", str, sizeof(str)); + int i = getenv_f("serial#", str, sizeof(str)); unsigned char trans[16] = {0x0,0x8,0x4,0xc,0x2,0xa,0x6,0xe, 0x1,0x9,0x5,0xd,0x3,0xb,0x7,0xf}; unsigned char id1, id2, rev; |