Added format string to clicon_rpc_generate_error() and used that to make better backend error messages

This commit is contained in:
Olof hagsand 2017-09-27 18:10:13 +02:00
parent 936268b813
commit becddfab41
5 changed files with 26 additions and 30 deletions

View file

@ -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");