diff options
Diffstat (limited to 'common/spl/spl_dfu.c')
-rw-r--r-- | common/spl/spl_dfu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl_dfu.c b/common/spl/spl_dfu.c index 2c974735b11..05bb21035df 100644 --- a/common/spl/spl_dfu.c +++ b/common/spl/spl_dfu.c @@ -42,13 +42,13 @@ int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr) set_default_env(0); str_env = env_get(dfu_alt_info); if (!str_env) { - error("\"dfu_alt_info\" env variable not defined!\n"); + pr_err("\"dfu_alt_info\" env variable not defined!\n"); return -EINVAL; } ret = env_set("dfu_alt_info", str_env); if (ret) { - error("unable to set env variable \"dfu_alt_info\"!\n"); + pr_err("unable to set env variable \"dfu_alt_info\"!\n"); return -EINVAL; } |