log warning, error doc

This commit is contained in:
Olof hagsand 2020-07-26 16:16:32 +02:00
parent 864e2d1692
commit cb58b2bb12
5 changed files with 11 additions and 7 deletions

View file

@ -259,7 +259,7 @@ main(int argc,
}
}
/* Repeat for profiling (default is nr = 1) */
/* Repeat for performance profiling (default is nr = 1) */
xvec = NULL;
for (i=0; i<nr; i++){
if (api_path_p){
@ -271,7 +271,7 @@ main(int argc,
goto done;
}
if (ret == 0){
fprintf(stderr, "Fail\n");
fprintf(stderr, "Fail %d %s\n", clicon_errno, clicon_err_reason);
goto done;
}
}