diff options
Diffstat (limited to 'board/intel/edison')
-rw-r--r-- | board/intel/edison/edison.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/intel/edison/edison.c b/board/intel/edison/edison.c index aaafae86a8..4b1e6d0f47 100644 --- a/board/intel/edison/edison.c +++ b/board/intel/edison/edison.c @@ -95,10 +95,10 @@ static void assign_hardware_id(void) int board_late_init(void) { - if (!getenv("serial#")) + if (!env_get("serial#")) assign_serial(); - if (!getenv("hardware_id")) + if (!env_get("hardware_id")) assign_hardware_id(); return 0; |