Merge pull request #123 from plieven/fix_rpc_error
init: do not write to stderr in rpc_set_errorlibnfs-4.0.0-vitalif
commit
cc69b9c189
|
@ -168,7 +168,7 @@ void rpc_set_error(struct rpc_context *rpc, const char *error_string, ...)
|
|||
vsnprintf(rpc->error_string, 1024, error_string, ap);
|
||||
va_end(ap);
|
||||
|
||||
fprintf(stderr, "libnfs error: %s\n", rpc->error_string);
|
||||
RPC_LOG(rpc, 1, "error: %s", rpc->error_string);
|
||||
|
||||
if (old_error_string != NULL) {
|
||||
free(old_error_string);
|
||||
|
|
Loading…
Reference in New Issue