Added format string to clicon_rpc_generate_error() and used that to make better backend error messages
This commit is contained in:
parent
936268b813
commit
becddfab41
5 changed files with 26 additions and 30 deletions
|
|
@ -568,7 +568,6 @@ cli_handler_err(FILE *f)
|
|||
if (clicon_suberrno)
|
||||
cli_output(f, ": %s", strerror(clicon_suberrno));
|
||||
cli_output(f, "\n");
|
||||
|
||||
}
|
||||
else
|
||||
cli_output(f, "CLI command error\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue