cprintf sanity checks

This commit is contained in:
Olof hagsand 2018-03-10 12:35:11 +01:00
parent 11e2b91a05
commit 0a11445963
3 changed files with 2 additions and 3 deletions

View file

@ -243,7 +243,7 @@ clicon_rpc_generate_error(char *format,
* @retval -1 Error, fatal or xml
* @code
* cxobj *xt = NULL;
* if (clicon_rpc_get_config(h, "running", "/", &xt) < 0)
* if (clicon_rpc_get_config(h, "running", "/", username, &xt) < 0)
* err;
* if ((xerr = xpath_first(xt, "/rpc-error")) != NULL){
* clicon_rpc_generate_error("", xerr);