Skip to content

Commit

Permalink
Merge pull request #195 from jnpkrn/common-fix-gcc9-buildability
Browse files Browse the repository at this point in the history
[common] fix not reporting a true dlinfo error cause
  • Loading branch information
fabbione committed Jan 24, 2019
2 parents 40cdf77 + 97924ac commit ef4c981
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libknet/common.c
Expand Up @@ -82,6 +82,7 @@ static void *open_lib(knet_handle_t knet_h, const char *libname, int extra_flags
/*
* should we dlclose and return error?
*/
error = dlerror();
log_warn(knet_h, KNET_SUB_COMMON, "unable to dlinfo %s: %s",
libname, error);
} else {
Expand Down

0 comments on commit ef4c981

Please sign in to comment.