diff options
| author | Simon Glass <[email protected]> | 2017-08-03 12:22:15 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-08-16 08:31:11 -0400 |
| commit | 723806cc5bea9f8b37323dfd7568603f99af6a06 (patch) | |
| tree | 886eeb28ac54536f60ad0979f9a4404ff4b29bda /cmd/net.c | |
| parent | 35affd7a2ff9a77b9946bf93b616228fcf218d60 (diff) | |
env: Rename some other getenv()-related functions
We are now using an env_ prefix for environment functions. Rename these
other functions as well, for consistency:
getenv_vlan()
getenv_bootm_size()
getenv_bootm_low()
getenv_bootm_mapsize()
env_get_default()
Suggested-by: Wolfgang Denk <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd/net.c')
| -rw-r--r-- | cmd/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/net.c b/cmd/net.c index 3b77c8952f1..d7c776aacf3 100644 --- a/cmd/net.c +++ b/cmd/net.c @@ -331,7 +331,7 @@ int do_sntp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) char *toff; if (argc < 2) { - net_ntp_server = getenv_ip("ntpserverip"); + net_ntp_server = env_get_ip("ntpserverip"); if (net_ntp_server.s_addr == 0) { printf("ntpserverip not set\n"); return CMD_RET_FAILURE; |
