mirror of
https://github.com/upa/mscp.git
synced 2026-03-14 20:27:35 +08:00
fix too few arguments for priv_set_errv
This commit is contained in:
@@ -92,7 +92,7 @@ static int ssh_set_opts(ssh_session ssh, struct mscp_ssh_opts *opts)
|
|||||||
int n;
|
int n;
|
||||||
for (n = 0; opts->options[n]; n++) {
|
for (n = 0; opts->options[n]; n++) {
|
||||||
if (ssh_config_parse_string(ssh, opts->options[n]) != SSH_OK) {
|
if (ssh_config_parse_string(ssh, opts->options[n]) != SSH_OK) {
|
||||||
priv_set_errv("failed to set ssh option %s: %s",
|
priv_set_errv("failed to set ssh option: %s",
|
||||||
opts->options[n]);
|
opts->options[n]);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user