diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-05-31 03:22:05 +0100 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2014-07-15 07:16:30 -0700 |
commit | 8853814f46d09fd37c9ef339650d7afc61a2523f (patch) | |
tree | 43ca3fa9b94e145b6880deebc76c5fe627406c2b /src | |
parent | e424ebcc87c319e9fba6882f655b2228c12a0796 (diff) | |
download | waffle-8853814f46d09fd37c9ef339650d7afc61a2523f.tar.gz |
cgl: print the libname on error at cgl_dl_close()
The compiler should have pointed out that there is a
modifier but the parameter is missing. This should
resolve the issue.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/waffle/cgl/cgl_dl.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/waffle/cgl/cgl_dl.m b/src/waffle/cgl/cgl_dl.m index 8050efe..2d13067 100644 --- a/src/waffle/cgl/cgl_dl.m +++ b/src/waffle/cgl/cgl_dl.m @@ -147,11 +147,12 @@ cgl_dl_close(struct wcore_platform *wc_plat) if (error_msg) { wcore_errorf(WAFFLE_ERROR_UNKNOWN, "dlclose(libname=\"%s\") failed: %s", - error_msg); + cgl_dl_gl_path, error_msg); } else { wcore_errorf(WAFFLE_ERROR_UNKNOWN, - "dlclose(libname=\"%s\") failed"); + "dlclose(libname=\"%s\") failed", + cgl_dl_gl_path); } return false; |