diff options
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/lib/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index 0adc664..684cdb8 100644 --- a/arch/i386/lib/board.c +++ b/arch/i386/lib/board.c @@ -69,7 +69,7 @@ const char version_string[] = static int init_baudrate (void) { char tmp[64]; /* long enough for environment variables */ - int i = getenv_r("baudrate", tmp, 64); + int i = getenv_f("baudrate", tmp, 64); gd->baudrate = (i != 0) ? (int) simple_strtoul (tmp, NULL, 10) |