diff options
Diffstat (limited to 'common/spl/spl_dfu.c')
-rw-r--r-- | common/spl/spl_dfu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_dfu.c b/common/spl/spl_dfu.c index e8d0ba18e6..f5ec0fb396 100644 --- a/common/spl/spl_dfu.c +++ b/common/spl/spl_dfu.c @@ -46,7 +46,7 @@ int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr) return -EINVAL; } - ret = setenv("dfu_alt_info", str_env); + ret = env_set("dfu_alt_info", str_env); if (ret) { error("unable to set env variable \"dfu_alt_info\"!\n"); return -EINVAL; |