[vlc-commits] commit: Print dynamic library error message if applicable ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Mon Apr 12 18:22:55 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 12 19:22:30 2010 +0300| [389dcfadc1a417abe9f5d9a07ac7c7ad524562ea] | committer: Rémi Denis-Courmont
Print dynamic library error message if applicable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=389dcfadc1a417abe9f5d9a07ac7c7ad524562ea
---
bin/override.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/bin/override.c b/bin/override.c
index 2e89199..964bc21 100644
--- a/bin/override.c
+++ b/bin/override.c
@@ -89,7 +89,8 @@ static void *getsym (const char *name)
void *sym = dlsym (RTLD_NEXT, name);
if (sym == NULL)
{
- fprintf (stderr, "Cannot resolve symbol %s!\n", name);
+ fprintf (stderr, "Cannot resolve symbol %s: %s\n", name,
+ dlerror ());
abort ();
}
return sym;
More information about the vlc-commits
mailing list