wget: fix compile warnings when WGET_FTP is not selected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
371fe9f71d
commit
a667a7f020
2 changed files with 7 additions and 4 deletions
|
@ -366,7 +366,7 @@ static void set_rtc_param(const char **pp_rtcname, char *rtc_param)
|
|||
/* handle param name */
|
||||
eq = strchr(rtc_param, '=');
|
||||
if (!eq)
|
||||
bb_error_msg_and_die("expected <param>=<value>");
|
||||
bb_simple_error_msg_and_die("expected <param>=<value>");
|
||||
*eq = '\0';
|
||||
param.param = resolve_rtc_param_alias(rtc_param);
|
||||
*eq = '=';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue