mirror of
https://github.com/upa/mscp.git
synced 2026-02-14 17:24:42 +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;
|
||||
for (n = 0; opts->options[n]; n++) {
|
||||
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]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user